{"id":"CVE-2025-59518","aliases":["DEBIAN-CVE-2025-59518","EUVD-2025-29680","GHSA-fxqv-qm7m-363x","UBUNTU-CVE-2025-59518"],"status":"published","title":"In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command injection can...","description":"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.","severity":{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01146,"percentile":0.67027,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2025-09-17T00:00:00Z","modified":"2026-10-28T02:30:26Z","fixes":[{"ecosystem":"Debian:12","package":"lemonldap-ng","fixed_in":["2.16.1+ds-deb12u7"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"lemonldap-ng","fixed_in":["2.21.2+ds-1+deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"lemonldap-ng","fixed_in":["2.21.3+ds-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.1+ds-deb12u7"}]}],"versions":["2.16.1+ds-2","2.16.1+ds-deb12u1","2.16.1+ds-deb12u2","2.16.1+ds-deb12u3","2.16.1+ds-deb12u4","2.16.1+ds-deb12u5","2.16.1+ds-deb12u6"]},{"source":"osv","ecosystem":"Debian:13","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.21.2+ds-1+deb13u1"}]}],"versions":["2.21.2+ds-1"]},{"source":"osv","ecosystem":"Debian:14","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.21.3+ds-1"}]}],"versions":["2.21.2+ds-1","2.21.2+ds-2","2.21.3+ds-1~bpo12+1","2.21.3+ds-1~bpo13+1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.3-1","1.4.6-1","1.4.6-2","1.4.6-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.10-1","1.9.13-2","1.9.14-1","1.9.15-1","1.9.16-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.5+ds-2","2.0.6+ds-2","2.0.7+ds-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.11+ds-4","2.0.13+ds-3","2.0.13+ds-3ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.16.2+ds-1","2.17.1+ds-1","2.17.2+ds-1","2.17.2+ds-2","2.18.1+ds-1","2.18.2+ds-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.20.2+ds-1build1","2.21.0+ds-3"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"lemonldap-ng","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.21.0+ds-3","2.22.0+ds-2","2.22.1+ds-1","2.22.2+ds-1"]}],"products":[{"vendor":"lemonldap-ng","product":"lemonldap::ng"}],"references":[{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462","tags":["report"]},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9","tags":["fix","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59518","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fxqv-qm7m-363x"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59518.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-59518","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-59518","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-59518","tags":["report"]},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3462","tags":["report"]},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3470","tags":["report"]},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/6e86f70be5499d09dfaaff307632be8a10f7e58f","tags":["report"]},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/0c1ae1644bbddad34da2644228953babf137f64c","tags":["report"]},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/8b5ce4de7716f550d353f406b4867378c81aee7c","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2025-59518","description":"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.","status":"published","published":"2025-09-17T00:00:00Z","modified":"2026-05-11T08:38:41.992Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:32:47.812946Z"}],"euvd":[{"id":"EUVD-2025-29680","description":"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.","status":"published","published":"2025-09-17T00:00:00Z","modified":"2026-05-11T08:38:41Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T19:05:13.690762Z"}],"ghsa":[{"id":"GHSA-fxqv-qm7m-363x","title":"In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command injection can...","description":"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.","status":"published","published":"2025-09-17T06:30:23Z","modified":"2025-09-17T06:30:29Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:03:38.15725Z"}],"nvd":[{"id":"CVE-2025-59518","description":"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.","status":"published","published":"2025-09-17T04:16:12.527Z","modified":"2026-06-17T09:46:20.023Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:11:29.650057Z"}],"osv":[{"id":"CVE-2025-59518","description":"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.","status":"published","published":"2025-09-17T00:00:00Z","modified":"2026-10-28T02:30:26.594226875Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:44:51.516975Z"},{"id":"DEBIAN-CVE-2025-59518","description":"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.","status":"published","published":"2025-09-17T04:16:12.527Z","modified":"2026-10-18T04:00:06.584881422Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:47.697959Z"},{"id":"UBUNTU-CVE-2025-59518","description":"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.","status":"published","published":"2025-09-17T04:16:00Z","modified":"2026-05-20T16:23:38.859109327Z","cvss":[{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:55:50.817402Z"}]}}
