CVE-2026-27895: LDAPAccountManager lam · Incorrect Regular Expression
Affects LDAPAccountManager lamSource CVE Database V5
Not known to be exploited · CVSS 4.3 Medium : upgrade to 9.5 when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade lam and ldapaccountmanager/lam to 9.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LDAPAccountManagerlam | Affected
| Fixed in
|
GitHubldapaccountmanager/lampkg:github/ldapaccountmanager/lamOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade LDAP Account Manager to version 9.5 or later, where the file extension validation issue is fixed.
- As an immediate workaround, change the permissions of /var/lib/ldap-account-manager/config to be read-only for the web server user to prevent unauthorized file uploads.
- Implement strict access controls and monitoring on the LAM server, including limiting user accounts that can upload files.
- Employ web application firewalls (WAFs) to detect and block suspicious file upload attempts targeting the PDF export functionality.
- Regularly audit uploaded files and server directories for unauthorized or unexpected files.
- Monitor logs for unusual activity related to file uploads and execution attempts.
- Consider isolating the LAM server in a segmented network zone to limit potential lateral movement if compromised.
Description
CVE-2026-27895 is a medium severity vulnerability in LDAP Account Manager (LAM) versions prior to 9.5, where the PDF export component improperly validates uploaded file extensions. This flaw allows attackers with limited privileges to upload arbitrary file types, including executable PHP files, potentially leading to remote code execution as the web server user. The vulnerability arises from an incorrect regular expression validation (CWE-185) that fails to restrict file uploads properly. Although no known exploits are currently in the wild, successful exploitation could compromise the integrity of affected systems. The issue is fixed in LAM version 9.5, and a recommended workaround is to make the configuration directory read-only for the web server user. Organizations using LAM for LDAP management should prioritize upgrading or applying mitigations to prevent exploitation.