Vulnerability · Published Sep 17, 2025 · Assigned by mitre
CVE-2025-59518
High 8.0
In plain English
A high-severity OS command injection in LemonLDAP::NG from lemonldap-ng. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.0High
Exploit odds (30 days)1.1%top 33.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | lemonldap-ng | 2.16.1+ds-deb12u7 | DEBIAN-CVE-2025-59518 |
| Debian:13 | lemonldap-ng | 2.21.2+ds-1+deb13u1 | DEBIAN-CVE-2025-59518 |
| Debian:14 | lemonldap-ng | 2.21.3+ds-1 | DEBIAN-CVE-2025-59518 |
| Ubuntu:22.04:LTS | lemonldap-ng | no fix listed | UBUNTU-CVE-2025-59518 |
| Ubuntu:24.04:LTS | lemonldap-ng | no fix listed | UBUNTU-CVE-2025-59518 |
| Ubuntu:25.10 | lemonldap-ng | no fix listed | UBUNTU-CVE-2025-59518 |
| Ubuntu:26.04:LTS | lemonldap-ng | no fix listed | UBUNTU-CVE-2025-59518 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| lemonldap-ng | LemonLDAP::NG | 0 – before 2.16.72.17.0 – before 2.21.3 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H