CVE-2026-27894
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.44% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Affected

Product or packageVersionsReported by
LDAPAccountManager lam< 9.5CVE List
ldap-account-manager ldap_account_managerbefore 9.5NVD

Classification

CWE-98

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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

NVD (es)

LDAP Account Manager (LAM) es una interfaz web para gestionar entradas (p. ej., usuarios, grupos, configuraciones DHCP) almacenadas en un directorio LDAP. Antes de la versión 9.5, se detectó una inclusión local de ficheros en la exportación de PDF que permite a los usuarios incluir ficheros PHP locales y de esta manera ejecutar código. En combinación con GHSA-88hf-2cjm-m9g8, esto permite ejecutar código arbitrario. Los usuarios deben iniciar sesión en LAM para explotar esta vulnerabilidad. La versión 9.5 soluciona el problema. Aunque se recomienda la actualización, una solución alternativa sería hacer que /var/lib/ldap-account-manager/config sea de solo lectura para el usuario del servidor web y eliminar los ficheros de perfil de PDF (haciendo imposibles las exportaciones de PDF).

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27894 changed 2026-03-18CVE Terms of Use
NVDCVE-2026-27894 changed 2026-06-17Public domain