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.
History

Wed, 18 Mar 2026 00:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-17T23:51:26.501Z

Reserved: 2026-02-24T15:19:29.717Z

Link: CVE-2026-27895

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-18T00:16:19.780

Modified: 2026-03-18T00:16:19.780

Link: CVE-2026-27895

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.