Security Resilience

CVE-2026-27894

Ldap-Account-Manager Ldap Account Manager ≤ 9.5

Published
18 March 2026
Modified
23 March 2026
Patch / advisory
CVSS Score v3.1 8.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0078 53th percentile
Risk Priority 65 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-27894 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Ldap-Account-Manager Ldap Account Manager. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 47% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-27894 is a local file inclusion (LFI) vulnerability, classified under CWE-98, affecting LDAP Account Manager (LAM) versions prior to 9.5. LAM is a web-based frontend for managing LDAP directory entries, such as users, groups, and DHCP settings. The flaw resides in the PDF export functionality, which permits authenticated users to include and execute arbitrary local PHP files.

An attacker with valid login credentials to LAM (low privileges required) can exploit this over the network with low complexity and no user interaction, as indicated by the CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). By manipulating the PDF export process, they can include sensitive local PHP files for code execution. When combined with the related vulnerability GHSA-88hf-2cjm-m9g8, this escalates to full arbitrary code execution on the server.

LAM version 9.5 resolves the issue, and upgrading is the recommended mitigation. As a workaround, administrators can render the /var/lib/ldap-account-manager/config directory read-only for the web server user and delete the PDF profile files, though this disables PDF export functionality. Additional details are available in the LAM release notes and security advisories on GitHub.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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).

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1056.003 Web Portal Capture Collection
Adversaries may install code on externally facing portals, such as a VPN login page, to capture and transmit credentials of users who attempt to log into the service.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-23333Same product: Ldap-Account-Manager Ldap Account Manager
CVE-2026-27895Same product: Ldap-Account-Manager Ldap Account Manager
CVE-2026-8208Shared CWE-98
CVE-2025-69034Shared CWE-98
CVE-2025-54003Shared CWE-98
CVE-2025-69071Shared CWE-98
CVE-2026-42777Shared CWE-98
CVE-2025-32153Shared CWE-98
CVE-2023-49031Shared CWE-98
CVE-2025-49883Shared CWE-98

Affected Assets

ldap-account-manager
ldap account manager
≤ 9.5

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and static analysis can discover missing filename restrictions before deployment.

Validating all inputs before they reach include/require statements directly stops untrusted filenames from being used.

Enforcing access authorizations on resources limits what an included file can reach even if a bad name is supplied.

Information-flow rules can block the loading of external or unauthorized files into the PHP process.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices such as input validation and allow-listing of include paths directly prevent the weakness.

PR.PS-01 partial match
blocks

Hardened runtime configuration (e.g., allow_url_include=off) directly blocks RFI even if code is flawed.

PR.PS-05 partial match
blocks

Execution restrictions can prevent the remote payload from running, while eliminating the weakness reduces the need for such controls.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect RFI but does not prevent the weakness by itself.

blocks

Network segregation can block the remote file inclusion vector by preventing the web server from making outbound connections to attacker-controlled hosts, but it does not block local file inclusion (which uses files already on the server) and leaves the underlying code defect intact.

prevents

Secure coding standards directly require whitelisting and sanitization of filenames used in include/require statements.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so a faithfully implemented clause reduces ordinary software implementation defects like improper input handling in PHP include/require statements, but the effect is mediated by the supplier's practice and is bounded by the same ceiling the owner set on A.8.30 vs CWE-134.

blocks

A.8.7 can block known malicious remote sources and detected malware content from being included, but it does not address the underlying filename-control flaw and leaves local file inclusion or unknown remote payloads exploitable.

finds

A.8.8's reach is disclosure-based (published advisories, component inventory) plus penetration testing; CWE-98 is a first-party PHP code defect whose systematic discovery belongs to source-reading testing (A.8.29), so A.8.8 finds it only where it surfaces as a disclosed CVE in a third-party component or is caught by a pen test — a minority of latent instances, parallel to A.8.8 finds CWE-89 = partial.

References