Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-27895 EUVD-2026-12682

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

Published Mar 17, 2026 · Updated Mar 18, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
LDAPAccountManager lam < 9.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ldap-account-manager 9.5.1-1 —
Debian 13 ldap-account-manager No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS ldap-account-manager No fix yet —
Ubuntu 25.10 ldap-account-manager No fix yet —
Ubuntu 24.04 LTS ldap-account-manager No fix yet —
Ubuntu 22.04 LTS ldap-account-manager No fix yet —
Ubuntu 20.04 LTS ldap-account-manager No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS ldap-account-manager No fix yet —
Ubuntu 16.04 LTS ldap-account-manager No fix yet —

References