Ldap Account Manager
CVE-2026-27894
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to LAM
-
ExploitCraft malicious PDF export request
-
ExecutionInclude local PHP file path
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authenticated login to LDAP Account Manager versions prior to 9.5 required. Attacker must be a valid LAM user. Exploits PDF export functionality with local file inclusion to execute arbitrary PHP code. No victim interaction needed beyond authentication. |
| Impact | This represents a high real-world risk despite requiring authentication (PR:L). The CVSS score of 8.8 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates network-exploitable attacks with low complexity that require only low-privileged credentials and no user interaction, achieving complete system compromise. The tracking across 7 Ubuntu releases and 4 Debian releases with medium priority designation suggests widespread deployment in production environments. The existence of multiple related GitHub security advisories (GHSA-w7xq-vjr3-p9cf and GHSA-88hf-2cjm-m9g8) and explicit documentation of the exploit chain significantly lowers the barrier to exploitation. The vulnerability's presence in a privileged identity management system makes it particularly attractive to attackers seeking lateral movement and privilege escalation in Active Directory or LDAP environments. Given that LAM is specifically designed for administrative access to directory services, compromised instances provide direct access to credential stores and authentication infrastructure. While no KEV listing is noted, the combination of authentication bypass potential, code execution capability, and targeting of identity infrastructure makes this a genuine priority for organizations running LAM. |
| Exploit ScenarioDerived | An attacker with low-privileged credentials to the LAM web interface (such as a compromised help desk account or a user with limited LDAP read permissions) authenticates to the application and navigates to the PDF export functionality. The attacker crafts a malicious PDF profile configuration that includes path traversal sequences pointing to a previously uploaded PHP webshell or crafted log file containing PHP code, leveraging the chained vulnerability GHSA-88hf-2cjm-m9g8 to place the malicious file. When the PDF export is triggered, the vulnerable include mechanism processes the attacker's file path, executing the embedded PHP code with web server privileges and granting the attacker remote code execution capabilities to compromise the LDAP management server, extract directory credentials, and pivot to connected systems. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 18, 2026
LDAP Account Manager (LAM), a web-based interface for managing LDAP directory entries, contains a local file inclusion vulnerability in its PDF export functionality that allows authenticated users to include and execute arbitrary PHP files. When chained with GHSA-88hf-2cjm-m9g8, this vulnerability enables complete remote code execution on the affected server. The vulnerability affects all versions prior to 9.5 and requires low-privilege authentication (CVSS 8.8, PR:L), tracking across 7 Ubuntu and 4 Debian releases indicates significant deployment in enterprise LDAP environments.
RemediationAI
Upgrade LDAP Account Manager to version 9.5 or later immediately, as documented in the release notes at https://github.com/LDAPAccountManager/lam/releases/tag/9.5. Until patching is completed, implement the recommended workaround by making the /var/lib/ldap-account-manager/config directory read-only for the web server user (typically www-data or apache) using filesystem permissions, and delete all existing PDF profile files to prevent exploitation through the vulnerable code path, though this will disable PDF export functionality. Additionally, review web server access logs for suspicious file access patterns in the config directory, restrict LAM interface access to trusted networks using firewall rules or reverse proxy ACLs, enforce strong authentication for all LAM accounts, and audit existing user accounts for unauthorized privilege escalation. Given the chain-ability with GHSA-88hf-2cjm-m9g8, also review that advisory at https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8 for additional mitigation steps.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability is classified as CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), commonly known as local file inclusion. LDAP Account Manager is a PHP-based web application that provides a graphical interface for managing LDAP directories, typically used in enterprise environments for user account, group, and DHCP configuration management. The flaw exists in the PDF profile export mechanism where user-controlled input is insufficiently validated before being passed to PHP include or require statements. The vulnerability's severity is amplified by its chain-ability with GHSA-88hf-2cjm-m9g8, suggesting a multi-stage attack path where file write capabilities combined with file inclusion lead to arbitrary code execution. The affected component processes PDF configuration profiles stored in /var/lib/ldap-account-manager/config, where malicious PHP code can be injected and subsequently included during PDF generation.
Know when Ldap Account Manager gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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).
Executive ViewAI
LDAP Account Manager installations below version 9.5 contain a high-severity vulnerability allowing authenticated users to execute arbitrary code through malicious PDF exports. This affects organizations using LAM for directory management and poses immediate risk to systems managing user identities and access controls.
If upgrade to version 9.5 is not immediately available: (1) Disable PDF export functionality entirely until patching is complete; (2) Make /var/lib/ldap-account-manager/config directory read-only for the web-server user; (3) Delete all PDF profile files from the LAM configuration directory; (4) Restrict network access to LAM to authorized administrator IPs only; (5) Implement Web Application Firewall rules to block PDF export requests; (6) Enable enhanced logging and monitoring for all LAM authentication and file access events.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)GitHub Advisory
Related Vulnerabilities in WordPress Plugin Local File Inclusion
View all 2More in Ldap Account Manager
View allRoland Gruber Softwareentwicklung LDAP Account Manager before 6.3 places a CSRF token in the sec_token parameter of a UR
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated high severity (CVSS 8.1), this vulnerabilit
Roland Gruber Softwareentwicklung LDAP Account Manager before 6.3 has XSS via the dn parameter to the templates/3rdParty
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated high severity (CVSS 8.8), this vulnerabilit
LDAP Account Manager (LAM) is an open source web frontend for managing entries stored in an LDAP directory. Rated medium
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated high severity (CVSS 7.8), this vulnerabilit
LDAP Account Manager (LAM) is a webfrontend for managing entries stored in an LDAP directory. Rated medium severity (CVS
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated medium severity (CVSS 6.1), this vulnerabil
LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated medium severity (CVSS 5.3), this vulnerabil
Cross-site scripting (XSS) vulnerability in templates/login.php in LDAP Account Manager (LAM) 4.3 and 4.2.1 allows remot
Same weakness CWE-98 – PHP Remote File Inclusion
View allVendor StatusVendor
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| xenial | needs-triage | - |
| bionic | needs-triage | - |
| focal | needs-triage | - |
| jammy | needs-triage | - |
| noble | needs-triage | - |
| questing | needs-triage | - |
| upstream | needs-triage | - |
Debian
| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye (security), bullseye | vulnerable | 8.0.1-0+deb11u1 | - |
| bookworm | vulnerable | 8.3-1 | - |
| forky, sid, trixie | vulnerable | 9.0-1 | - |
| (unstable) | fixed | (unfixed) | - |
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB