{"id":"CVE-2026-27895","aliases":["CVE-2026-27895"],"related":[],"kind":"vulnerability","state":"published","title":"LAM has incorrect regular expression in PDF export component that allows user to upload files of any type","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, 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"LDAP Account Manager (LAM) es una interfaz web para gestionar entradas (por ejemplo, usuarios, grupos, configuraciones DHCP) almacenadas en un directorio LDAP. Antes de la versión 9.5, el componente de exportación de PDF no valida correctamente las extensiones de archivo subidas. De esta manera, cualquier tipo de archivo (incluyendo archivos .PHP) puede ser subido. Con GHSA-w7xq-vjr3-p9cf, un atacante puede lograr la ejecución remota de código como el usuario del servidor web. La versión 9.5 corrige el problema. Aunque se recomienda actualizar, una solución alternativa sería hacer /var/lib/ldap-account-manager/config de solo lectura para el usuario del servidor web.","source":"nvd"}],"published":"2026-03-17T23:51:26.501Z","modified":"2026-06-17T10:27:50.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-185"],"affected":[{"ranges":[{"version":"< 9.5","status":"affected"}],"vendor":"LDAPAccountManager","product":"lam","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.5","fixed":"9.5"}],"vendor":"ldap-account-manager","product":"ldap_account_manager","cpe":"cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-88hf-2cjm-m9g8","tags":["vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-w7xq-vjr3-p9cf","tags":["not-applicable","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LDAPAccountManager/lam/releases/tag/9.5","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-18T19:55:04.254Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27895","url":"https://www.cve.org/CVERecord?id=CVE-2026-27895","licence":"CVE Terms of Use","modified":"2026-03-18T19:55:14.059Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27895","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27895","licence":"Public domain","modified":"2026-06-17T10:27:50.273Z"}],"updatedAt":"2026-11-25T22:59:16.065Z","epss":{"score":0.00486,"percentile":0.43511,"date":"2026-12-01T12:00:22.000Z"}}