CVE-2026-27894
Local File Inclusion in LDAP Account Manager Enables Code Execution
Publication date: 2026-03-18
Last updated on: 2026-03-23
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| ldap-account-manager | ldap_account_manager | to 9.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-98 | The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The vulnerability exists in LDAP Account Manager (LAM) versions prior to 9.5, specifically in the PDF export feature. It allows a local file inclusion attack where users can include local PHP files, leading to code execution. To exploit this, a user must be logged into LAM. This vulnerability can be combined with another vulnerability (GHSA-88hf-2cjm-m9g8) to execute arbitrary code on the system.
How can this vulnerability impact me? :
This vulnerability can lead to the execution of arbitrary code on the server running LDAP Account Manager. An attacker who is able to log in can exploit the local file inclusion in the PDF export to run malicious PHP code, potentially compromising the confidentiality, integrity, and availability of the system and its data.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability immediately, it is recommended to upgrade LDAP Account Manager to version 9.5 or later, where the issue is fixed.
If upgrading is not possible right away, a workaround includes making the /var/lib/ldap-account-manager/config directory read-only for the web-server user and deleting the PDF profile files to prevent PDF exports.