Skip to main content
VulnerabilityPublished

CVE-2026-27895: LDAPAccountManager lam · Incorrect Regular Expression

Affects LDAPAccountManager lamSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.3 Medium : upgrade to 9.5 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LDAPAccountManagerlamAffected
  • <9.5
Fixed in
  • 9.5
GitHubldapaccountmanager/lampkg:github/ldapaccountmanager/lamOther threatsAffected
  • <9.5
Fixed in
  • 9.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade LDAP Account Manager to version 9.5 or later, where the file extension validation issue is fixed.
  2. 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.
  3. Implement strict access controls and monitoring on the LAM server, including limiting user accounts that can upload files.
  4. Employ web application firewalls (WAFs) to detect and block suspicious file upload attempts targeting the PDF export functionality.
  5. Regularly audit uploaded files and server directories for unauthorized or unexpected files.
  6. Monitor logs for unusual activity related to file uploads and execution attempts.
  7. 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.

References

Community reviews

Loading reviews…