CVE-2026-27895
LAM has incorrect regular expression in PDF export component that allows user to upload files of any type
Severity Score
4.3
*CVSS v3.1
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
0
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
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.
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2026-02-24 CVE Reserved
- 2026-03-17 CVE Published
- 2026-03-18 CVE Updated
- ---------- EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-185: Incorrect Regular Expression
CAPEC
References (3)
| URL | Tag | Source |
|---|---|---|
| https://github.com/LDAPAccountManager/lam/releases/tag/9.5 | X_refsource_misc | |
| https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8 | X_refsource_confirm | |
| https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf | X_refsource_misc |
| URL | Date | SRC |
|---|
| URL | Date | SRC |
|---|
| URL | Date | SRC |
|---|
Affected Vendors, Products, and Versions
| Vendor | Product | Version | Other | Status | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
| LDAPAccountManager Search vendor "LDAPAccountManager" | Lam Search vendor "LDAPAccountManager" for product "Lam" | < 9.5 Search vendor "LDAPAccountManager" for product "Lam" and version " < 9.5" | en |
Affected
| ||||||
