Skip to main content

Ldap Account Manager CVE-2026-27894

HIGH
PHP Remote File Inclusion (CWE-98)
2026-03-18 security-advisories@github.com
8.8
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to LAM
  2. Exploit
    Craft malicious PDF export request
  3. Execution
    Include local PHP file path
  4. Impact
    Execute 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

GitHub Advisory PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 18, 2026 - 00:16 nvd
HIGH 8.8

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating 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

EPSS Score
0.1%
Top 83% exploitable
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*

Related Vulnerabilities in WordPress Plugin Local File Inclusion

View all 2
CVE-2018-8764 HIGH POC
8.8 Mar 27

Roland Gruber Softwareentwicklung LDAP Account Manager before 6.3 places a CSRF token in the sec_token parameter of a UR

CVE-2022-31084 HIGH POC
8.1 Jun 27

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated high severity (CVSS 8.1), this vulnerabilit

CVE-2018-8763 MEDIUM POC
6.1 Mar 27

Roland Gruber Softwareentwicklung LDAP Account Manager before 6.3 has XSS via the dn parameter to the templates/3rdParty

CVE-2022-31086 HIGH
8.8 Jun 27

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated high severity (CVSS 8.8), this vulnerabilit

CVE-2022-24851 MEDIUM POC
4.8 Apr 15

LDAP Account Manager (LAM) is an open source web frontend for managing entries stored in an LDAP directory. Rated medium

CVE-2022-31087 HIGH
7.8 Jun 27

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated high severity (CVSS 7.8), this vulnerabilit

CVE-2024-23333 MEDIUM
6.6 Mar 18

LDAP Account Manager (LAM) is a webfrontend for managing entries stored in an LDAP directory. Rated medium severity (CVS

CVE-2022-31085 MEDIUM
6.1 Jun 27

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated medium severity (CVSS 6.1), this vulnerabil

CVE-2022-31088 MEDIUM
5.3 Jun 27

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. Rated medium severity (CVSS 5.3), this vulnerabil

CVE-2013-4453 MEDIUM
4.3 Nov 05

Cross-site scripting (XSS) vulnerability in templates/login.php in LDAP Account Manager (LAM) 4.3 and 4.2.1 allows remot

Vendor StatusVendor

Ubuntu

Priority: Medium
ldap-account-manager
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

ldap-account-manager
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) -

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy