{"id":"CVE-2025-59518","details":"In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command injection can occur in the Safe jail. It does not Localize _ during rule evaluation. Thus, an administrator who can edit a rule evaluated by the Safe jail can execute commands on the server.","modified":"2026-08-12T03:51:21.609381527Z","published":"2025-09-17T00:00:00Z","database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59518.json","cna_assigner":"mitre"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59518.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59518"},{"type":"REPORT","url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462"},{"type":"FIX","url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng","events":[{"introduced":"0"},{"fixed":"6f888e84213c1819e7b8924dd50875246b9654a4"},{"introduced":"90a97ab1d90f1d32eaf56d0e4f3a72ca7cb40877"},{"fixed":"a592316cbec75e48c34a6d77008643caa0e14aaa"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"2.16.7"},{"introduced":"2.17.0"},{"fixed":"2.21.3"}]}}],"versions":["v2.16.6","v2.21.2","v2.21.1","v2.16.5","v2.21.0","v2.16.4","v2.20.0","v2.19.0","v2.16.3","v2.18.1","v2.18.0","v2.0.2","ubuntu/disco","debian/buster","v2.0.11","ubuntu/hirsute","debian/bullseye","v2.17.0","v2.16.2","v2.16.1","debian/bookworm","v2.0.15.1","v2.0.15","v2.0.14","v2.0.13","ubuntu/jammy","v2.0.12","v2.0.10","v2.0.9","v2.0.8","ubuntu/groovy","v2.0.7","ubuntu/focal","v2.0.6","v2.0.4","v2.0.3","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59518.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}