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 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ldap-account-manager
Ldap-account-manager ldap Account Manager
CPEs cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*
Vendors & Products Ldap-account-manager
Ldap-account-manager ldap Account Manager
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ldapaccountmanager
Ldapaccountmanager lam
Vendors & Products Ldapaccountmanager
Ldapaccountmanager lam
Type Values Removed Values Added
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.
Title LAM has incorrect regular expression in PDF export component that allows user to upload files of any type
Weaknesses CWE-185
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 18, 2026, 7:55 PM
Reserved
Feb 24, 2026, 3:19 PM
Status
Analyzed
Published
Mar 18, 2026, 12:16 AM
Modified
Jun 17, 2026, 10:27 AM