CVE-2026-27895
published medium CVSS 3.1 · 4.3LAM has incorrect regular expression in PDF export component that allows user to upload files of any type
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LDAPAccountManager | — | lam< 9.5 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LDAPAccountManager | lam | < 9.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-185 CWE-185: Incorrect Regular Expression
References
3Provider assertions
2GitHub_M · cna
LAM has incorrect regular expression in PDF export component that allows user to upload files of any type
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e3227764cc1a2fd4c61d192fcc957f5fc5048af9819d649f5475c6a2c8b1ca5e
- Ingested
- 23 Sep 2026, 09:07:57 UTC
- Source record
- Official CVE record