CVE-2025-59518
In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command injection can...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.0
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.
- Record
CVE-2025-59518- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
EUVDEUVD-2025-29680
8.0
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.
- Record
EUVD-2025-29680- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-fxqv-qm7m-363x
8.0
In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command injection can...
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.
- Record
GHSA-fxqv-qm7m-363x- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
NVD
8.0
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.
- Record
CVE-2025-59518- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSV
8.0
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.
- Record
CVE-2025-59518- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-78
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-59518
8.0
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.
- Record
DEBIAN-CVE-2025-59518- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-59518
8.0
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.
- Record
UBUNTU-CVE-2025-59518- CVSS 3.1
- 8.0 High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lemonldap-ngDebian:12 |
before 2.16.1+ds-deb12u7, plus listed versions 2.16.1+ds-22.16.1+ds-deb12u12.16.1+ds-deb12u22.16.1+ds-deb12u32.16.1+ds-deb12u42.16.1+ds-deb12u52.16.1+ds-deb12u6 |
2.16.1+ds-deb12u7 |
lemonldap-ngDebian:13 |
before 2.21.2+ds-1+deb13u1, plus listed versions 2.21.2+ds-1 |
2.21.2+ds-1+deb13u1 |
lemonldap-ngDebian:14 |
before 2.21.3+ds-1, plus listed versions 2.21.2+ds-12.21.2+ds-22.21.3+ds-1~bpo12+12.21.3+ds-1~bpo13+1 |
2.21.3+ds-1 |
lemonldap-ngUbuntu:16.04:LTS |
All versions, plus listed versions 1.3.3-11.4.6-11.4.6-21.4.6-3 |
None known |
lemonldap-ngUbuntu:18.04:LTS |
All versions, plus listed versions 1.9.10-11.9.13-21.9.14-11.9.15-11.9.16-2 |
None known |
lemonldap-ngUbuntu:20.04:LTS |
All versions, plus listed versions 2.0.5+ds-22.0.6+ds-22.0.7+ds-2 |
None known |
lemonldap-ngUbuntu:22.04:LTS |
All versions, plus listed versions 2.0.11+ds-42.0.13+ds-32.0.13+ds-3ubuntu1 |
None known |
lemonldap-ngUbuntu:24.04:LTS |
All versions, plus listed versions 2.16.2+ds-12.17.1+ds-12.17.2+ds-12.17.2+ds-22.18.1+ds-12.18.2+ds-1 |
None known |
lemonldap-ngUbuntu:25.10 |
All versions, plus listed versions 2.20.2+ds-1build12.21.0+ds-3 |
None known |
lemonldap-ngUbuntu:26.04:LTS |
All versions, plus listed versions 2.21.0+ds-32.22.0+ds-22.22.1+ds-12.22.2+ds-1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-59518 is a high vulnerability (CVSS 8.0) in Lemonldap-ng Lemonldap::ng, published September 17, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.15%, the 66th percentile. Fixed in lemonldap-ng 2.16.1+ds-deb12u7.
References
gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462
gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9
nvd.nist.gov/vuln/detail/CVE-2025-59518
github.com/advisories/GHSA-fxqv-qm7m-363x
github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59518.json
security-tracker.debian.org/tracker/CVE-2025-59518
Show 7 moreShow less
ubuntu.com/security/CVE-2025-59518
cve.org/CVERecord?id=CVE-2025-59518
gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3462
gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3470
gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/6e86f70be5499d09dfaaff307632be8a10f7e58f
gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/0c1ae1644bbddad34da2644228953babf137f64c
gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/8b5ce4de7716f550d353f406b4867378c81aee7c