CVE-2026-27895: LAM has incorrect regular expression in PDF export component that allows user to upload files of any type

Published Mar 17, 2026
·
Updated

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. Prior to version 9.5, the PDF export component does not correctly validate uploaded file extensions. This way any file type (including .php files) can be uploaded. With GHSA-w7xq-vjr3-p9cf, an attacker can achieve remote code execution as the web server user. Version 9.5 fixes the issue. Although upgrading is recommended, a workaround would be to make /var/lib/ldap-account-manager/config read-only for the web-server user.

Affected Software

2 affected components
LDAP Account Manager LDAP Account Manager<9.5
ldap-account-manager LDAP Account Manager>=8.5<9.5

Event History

Mar 17, 2026
CVE Published
via MITRE·11:51 PM
Data Sourced
via MITRE·11:51 PM
DescriptionSeverityWeakness
Mar 18, 2026
Data Sourced
via NVD·12:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-27895?

CVE-2026-27895 has a medium severity due to the improper handling of file uploads in the PDF export component.

2

How do I fix CVE-2026-27895?

To mitigate CVE-2026-27895, upgrade to LDAP Account Manager version 9.5 or later.

3

What types of files can be uploaded due to CVE-2026-27895?

CVE-2026-27895 allows user to upload files of any type due to an incorrect regular expression.

4

Which versions of LDAP Account Manager are affected by CVE-2026-27895?

CVE-2026-27895 affects LDAP Account Manager versions prior to 9.5.

5

What component is vulnerable in CVE-2026-27895?

CVE-2026-27895 involves a vulnerability in the PDF export component of the LDAP Account Manager.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203