Skip to content
Heist/ feed
Back to feed
High

LAM has Authenticated Local File Inclusion (LFI) in PDF export

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-27894
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:15 UTC · Revision 1

Source evidence

LAM has Authenticated Local File Inclusion (LFI) in PDF export

core-osv · Original source

Published 17 Mar 2026, 23:48 UTC

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

osv:CVE-2026-27894
Complete source record
{
  "id": "3d3a2ad9c87a126aa85bf17d96f15189b427377afc57528f2c5df909b1da728b",
  "url": "https://osv.dev/vulnerability/CVE-2026-27894",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "LAM has Authenticated Local File Inclusion (LFI) in PDF export",
    "summary": "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 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).",
    "evidence": "osv:CVE-2026-27894",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-27894",
      "aliases": [
        "CVE-2026-27894"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ldapaccountmanager/lam",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c62daffb4350ddc7a90ead2cd6113da065e1d4ba"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c62daffb4350ddc7a90ead2cd6113da065e1d4ba"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "9.5"
                  },
                  {
                    "cpe": "cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.5.RC1",
            "9.4",
            "9.4.RC1",
            "9.3",
            "9.3.RC1",
            "9.2",
            "9.2.RC1",
            "9.1",
            "9.1.RC1",
            "9.0",
            "9.0.RC1",
            "8.9",
            "8.9.RC1",
            "8.8",
            "8.8.RC1",
            "8.7",
            "8.7.RC1",
            "8.6",
            "8.6.RC1",
            "8.5",
            "lam_8_5_RC1",
            "lam_8_4",
            "lam_8_4_RC1",
            "lam_8_3",
            "lam_8_3_RC1",
            "lam_8_2",
            "lam_8_2_RC1",
            "lam_8_1",
            "lam_8_1_RC1",
            "lam_8_0_1",
            "lam_8_0",
            "lam_8_0_RC1",
            "lam_7_9_RC1",
            "lam_7_8",
            "lam_7_8_RC1",
            "lam_7_7",
            "lam_7_7_RC1",
            "lam_7_6",
            "lam_7_6_RC1",
            "lam_7_5",
            "lam_7_5_RC1",
            "lam_7_4",
            "lam_7_4_RC1",
            "lam_7_3",
            "lam_7_2",
            "lam_7_2_RC1",
            "lam_7_1",
            "lam_7_1_RC1",
            "lam_7_0",
            "lam_7_0_RC1",
            "lam_6_9",
            "lam_6_9_RC1",
            "lam_6_8",
            "lam_6_8_RC1",
            "lam_6_7",
            "lam_6_7_RC1",
            "lam_6_6",
            "lam_6_6_RC1",
            "lam_6_5",
            "lam_6_5_RC1",
            "untagged-0f11e4b04e249cac51c5",
            "lam_6_4",
            "lam_6_4_RC1",
            "lam_6_3",
            "lam_6_3_RC1",
            "lam_6_2",
            "lam_6_2_RC1",
            "lam_6_1",
            "lam_6_1_RC1",
            "lam_6_0",
            "lam_6_0_RC2",
            "lam_6_0_RC1",
            "lam_5_7",
            "lam_5_7_RC1",
            "lam_5_6",
            "lam_5_6_RC1",
            "lam_5_5",
            "lam_5_5_RC1",
            "lam_5_4",
            "lam_5_4_RC1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-27894.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.887627659Z",
      "provider": "osv",
      "references": [
        "https://github.com/LDAPAccountManager/lam/releases/tag/9.5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27894.json",
        "https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8",
        "https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-27894"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-98"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27894.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-27894",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505225,
  "published_at": "2026-03-17T23:48:06.53+00:00"
}