
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-27894 is an authenticated Local File Inclusion (LFI) vulnerability in the PDF export functionality of LDAP Account Manager (LAM), a web frontend for managing LDAP directory entries. It affects all LAM versions up to and including 9.4, and was disclosed on March 17, 2026 by researcher jonaslejon. When chained with a related file upload bypass vulnerability (GHSA-88hf-2cjm-m9g8 / CVE-2026-27895), it enables full remote code execution as the web server user. It carries a CVSS v3.1 base score of 8.8 (High) (GitHub Advisory).
The root cause is improper control of filename input in PHP include/require statements within the PDF export component (CWE-98). The PDF export feature fails to adequately restrict user-supplied input used to reference local PHP files, allowing an authenticated attacker to specify arbitrary local PHP files for inclusion and execution. Exploitation is further enabled by a companion vulnerability (GHSA-88hf-2cjm-m9g8), where an incorrect regular expression in the same PDF export component permits uploading files of any type — including .php files — to the LAM configuration directory (/var/lib/ldap-account-manager/config). An attacker first uploads a malicious PHP file via the file upload flaw, then triggers its execution via the LFI, achieving remote code execution as the web server user. Valid LAM credentials are required as a precondition (GitHub Advisory, Upload Flaw Advisory).
Successful exploitation allows an authenticated attacker to execute arbitrary PHP code on the server as the web server user, resulting in high confidentiality, integrity, and availability impact. An attacker can read sensitive LDAP directory data (including user credentials and group memberships), modify or delete directory entries, and potentially pivot to other infrastructure components connected to the LDAP backend. When the two vulnerabilities are chained, the attack escalates from a file inclusion to full remote code execution, enabling persistent access, web shell deployment, and lateral movement (GitHub Advisory).
As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (Feedly). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.055%, reflecting low current exploitation probability. Exploitation requires valid LAM credentials, which limits the attack surface to authenticated users; however, the chained attack with CVE-2026-27895 significantly increases the severity for any deployment where user login is permitted (GitHub Advisory).
shell.php) through the PDF export component's file upload functionality. The flawed regex validation fails to block .php extensions, allowing the file to be written to /var/lib/ldap-account-manager/config/.include or require statement.www-data). This can be used to spawn a reverse shell, exfiltrate LDAP data, or establish persistence..php files in /var/lib/ldap-account-manager/config/ or its subdirectories, particularly files with names inconsistent with legitimate PDF profile names; newly created or modified files in the LAM configuration directory owned by the web server user..php files; PHP error logs referencing unexpected include/require calls with user-controlled paths.bash, sh, curl, wget, python) following LAM PDF export requests (GitHub Advisory).Upgrade LDAP Account Manager to version 9.5, which fixes both CVE-2026-27894 and the companion vulnerability CVE-2026-27895 (LAM 9.5 Release). If immediate upgrading is not possible, apply the following workarounds: (1) make /var/lib/ldap-account-manager/config read-only for the web server user to prevent file uploads and configuration modification, and (2) delete all existing PDF profile files to disable PDF export functionality entirely. Additionally, restrict LAM access to trusted internal networks and enforce strong credential policies to reduce the risk from authenticated attackers (GitHub Advisory).
The vulnerability was reported by security researcher jonaslejon and disclosed by LAM maintainer gruberroland via GitHub Security Advisories on March 17, 2026. A Mastodon post from @thehackerwire noted the disclosure shortly after publication. Tenable added detection support via Nessus plugin 302887. No significant broader media coverage or notable community controversy has been identified beyond standard vulnerability tracking (GitHub Advisory, Tenable Plugin).
Fix availability across major Linux distributions and their releases.
bookworm
ldap-account-manager
sid
ldap-account-manager: 9.5.1-1
trixie
ldap-account-manager
bionic (esm-apps)
ldap-account-manager
focal (esm-apps)
ldap-account-manager
jammy
ldap-account-manager
jammy (esm-apps)
ldap-account-manager
noble
ldap-account-manager
noble (esm-apps)
ldap-account-manager
resolute
ldap-account-manager
resolute (esm-apps)
ldap-account-manager
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."