CVE-2026-27895
LAM has incorrect regular expression in PDF export component that allows user to upload files of any type
- State
- Published
- Severity
- 4.3 Medium
- Published
- Mar 17, 2026
- Updated
- Mar 18, 2026
- Reserved
- Feb 24, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Weaknesses
- CWE-185 Incorrect Regular Expression
Affected Products
| Product | Versions |
|---|---|
lamLDAPAccountManager |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.