Skip to content

CVE-2026-27895 LAM has incorrect regular expression in PDF export component that allows user to upload files of any type

HighCVSS 8.8 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPUbuntuDebian

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.

Upgrade path

7 packages: 2 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
debian/ldap-account-manager(Debian 13) = 9.0-1; = 9.5.1-1; = 9.6-1; = 9.7-1 +1 more No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/ldap-account-manager(Ubuntu 26.04) All versions No fix listed No fix yet
debian/ldap-account-manager(Debian 14) < 9.5.1-1; = 9.0-1 9.5.1-1 Fixed
ldap-account-manager ldap account manager >= 8.5, < 9.5 9.5 Fixed
LDAPAccountManager lam = < 9.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
LDAPAccountManager lam = < 9.5 No fix listed
debian/ldap-account-manager(Debian:13) All versions No fix listed
debian/ldap-account-manager(Debian:13) = 9.0-1 No fix listed
debian/ldap-account-manager(Debian:13) = 9.5.1-1 No fix listed
debian/ldap-account-manager(Debian:13) = 9.6-1 No fix listed
debian/ldap-account-manager(Debian:13) = 9.7-1 No fix listed
debian/ldap-account-manager(Debian:14) < 9.5.1-1 9.5.1-1
debian/ldap-account-manager(Debian:14) = 9.0-1 No fix listed
ubuntu/ldap-account-manager(Ubuntu:22.04) All versions No fix listed
ubuntu/ldap-account-manager(Ubuntu:24.04) All versions No fix listed
ubuntu/ldap-account-manager(Ubuntu:26.04) All versions No fix listed
ldap-account-manager ldap account manager >= 8.5, < 9.5 9.5

References