CVE-2026-27895

Source
https://cve.org/CVERecord?id=CVE-2026-27895
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27895.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-27895
Downstream
Related
  • GHSA-88hf-2cjm-m9g8
  • GHSA-w7xq-vjr3-p9cf
Published
2026-03-17T23:51:26.501Z
Modified
2026-08-05T03:32:11.759930099Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
LAM has incorrect regular expression in PDF export component that allows user to upload files of any type
Details

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, the PDF export component does not correctly validate uploaded file extensions. This way any file type (including .php files) can be uploaded. With GHSA-w7xq-vjr3-p9cf, an attacker can achieve remote code execution as the web server user. 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-185"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27895.json"
}
References

Affected packages

Git / github.com/ldapaccountmanager/lam

Affected ranges

Type
GIT
Repo
https://github.com/ldapaccountmanager/lam
Events
Database specific
{
    "cpe": "cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "9.5"
        },
        {
            "introduced": "8.5"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

8.*
8.5
8.6
8.6.RC1
8.7
8.7.RC1
8.8
8.8.RC1
8.9
8.9.RC1
9.*
9.0
9.0.RC1
9.1
9.1.RC1
9.2
9.2.RC1
9.3
9.3.RC1
9.4
9.4.RC1
9.5.RC1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27895.json"