CVE-2026-27894 LAM has Authenticated Local File Inclusion (LFI) in PDF export
Authenticated attackers can exploit a local file inclusion in PDF export to execute arbitrary code on LDAP Account Manager servers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-27894?
CVE-2026-27894 is a high-severity code injection vulnerability in LDAPAccountManager lam, published on 17 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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, a local file inclusion was detected in the PDF export that allows users to include local PHP files and this way execute code. In combination with GHSA-88hf-2cjm-m9g8 this allows to execute arbitrary code. Users need to login to LAM to exploit this vulnerability. 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 and delete the PDF profile files (making PDF exports impossible).
Weakness: CWE-98
Which versions are affected by CVE-2026-27894?
It affects 1 product.
Products include Ldap-Account-Manager Ldap Account Manager.
How do I fix CVE-2026-27894?
Upgrade to a fixed version.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-27894 being exploited?
There is no known exploitation of CVE-2026-27894 in the wild and no public exploit code.
Other vulnerabilities in LDAPAccountManager lam
Sources
Also known as DEBIAN-CVE-2026-27894, UBUNTU-CVE-2026-27894.