{"id":"CVE-2026-27894","state":"PUBLISHED","title":"LAM has Authenticated Local File Inclusion (LFI) in PDF export","description":"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).","publishedAt":"2026-03-17T23:48:06.530Z","updatedAt":"2026-03-18T19:54:13.831Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["LDAPAccountManager lam"],"affected":[{"vendor":"LDAPAccountManager","product":"lam","versions":[{"version":"< 9.5","status":"affected"}]}],"references":["https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf","https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8","https://github.com/LDAPAccountManager/lam/releases/tag/9.5"],"weaknesses":["CWE-98"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/27xxx/CVE-2026-27894.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-27894","state":"PUBLISHED","datePublished":"2026-03-17T23:48:06.530Z","dateUpdated":"2026-03-18T19:54:13.831Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-24T15:19:29.717Z"},"containers":{"cna":{"title":"LAM has Authenticated Local File Inclusion (LFI) in PDF export","descriptions":[{"lang":"en","value":"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)."}],"affected":[{"vendor":"LDAPAccountManager","product":"lam","versions":[{"version":"< 9.5","status":"affected"}]}],"references":[{"url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf","name":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8","name":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8","tags":["x_refsource_MISC"]},{"url":"https://github.com/LDAPAccountManager/lam/releases/tag/9.5","name":"https://github.com/LDAPAccountManager/lam/releases/tag/9.5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-98","lang":"en","description":"CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-17T23:51:09.865Z"},"source":{"advisory":"GHSA-w7xq-vjr3-p9cf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-18T19:54:01.110248Z","id":"CVE-2026-27894","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-18T19:54:13.831Z"}}]}}}