{"id":"UBUNTU-CVE-2026-27894","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, 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).","modified":"2026-05-20T16:24:52.327417164Z","published":"2026-03-18T00:16:00Z","upstream":["CVE-2026-27894"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-27894"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-27894"},{"type":"REPORT","url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8"},{"type":"REPORT","url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf"}],"affected":[{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.9-1","5.1-1","5.2-1","5.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"ldap-account-manager","binary_version":"5.2-1ubuntu1"},{"binary_name":"ldap-account-manager-lamdaemon","binary_version":"5.2-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27894.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7-1","6.1-1","6.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.2-1","binary_name":"ldap-account-manager"},{"binary_version":"6.2-1","binary_name":"ldap-account-manager-lamdaemon"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27894.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ldap-account-manager","binary_version":"6.7-1"},{"binary_name":"ldap-account-manager-lamdaemon","binary_version":"6.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27894.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.5-1","7.7-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ldap-account-manager","binary_version":"7.7-1"},{"binary_name":"ldap-account-manager-lamdaemon","binary_version":"7.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27894.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.3-1","8.5-1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.5-1","binary_name":"ldap-account-manager"},{"binary_name":"ldap-account-manager-lamdaemon","binary_version":"8.5-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27894.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ldap-account-manager?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ldap-account-manager","binary_version":"9.0-1"},{"binary_name":"ldap-account-manager-lamdaemon","binary_version":"9.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27894.json"}},{"package":{"name":"ldap-account-manager","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/ldap-account-manager?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.0-1","9.0-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"ldap-account-manager","binary_version":"9.0-1build1"},{"binary_name":"ldap-account-manager-lamdaemon","binary_version":"9.0-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-27894.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}