What’s Vulnerable › Vulnerabilities
CVE-2026-27895: LAM has incorrect regular expression in PDF export component that allows user to upload files of any type
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-18 · updated 2026-06-17
- Weakness: CWE-185
Description
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 products
- ldap-account-manager Ldap Account Manager: from 8.5 before 9.5 — fixed in 9.5
How to fix
Upgrade to a fixed version: ldap-account-manager Ldap Account Manager 9.5. Check the vendor advisory for mitigations.
References
- https://github.com/LDAPAccountManager/lam/releases/tag/9.5
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf
Get alerted when CVE-2026-27895 or the next vulnerability affects your stack