# CVE-2025-59518: 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.

- Severity: High 8.0 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.15%, higher than 67% of CVEs (2026-12-01)
- Published: 2025-09-17T00:00:00.000Z
- Modified: 2026-06-17T09:46:20.023Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- lemonldap-ng LemonLDAP::NG: before 2.16.7; from 2.17.0 before 2.21.3

## References

- <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462>
- <https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9>

## Sources

- CVE List: [CVE-2025-59518](https://www.cve.org/CVERecord?id=CVE-2025-59518), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-59518](https://nvd.nist.gov/vuln/detail/CVE-2025-59518), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-59518 · Whole record: https://cve.day/CVE-2025-59518.json · Rebuilt by cve.day 2026-11-25T22:59:04.768Z
