CVE-2025-59518: In LemonLDAP::NG before 2.16.7 and 2.17 through 2.21 before 2.21.3, OS command
Affects lemonldap-ngSource GCVE Database
Not known to be exploited · CVSS 8.0 High.
Data as of 24 Nov 2026, 20:10 UTC
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlemonldap-ngpkg:deb/ubuntu/lemonldap-ng?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10lemonldap-ngpkg:deb/ubuntu/lemonldap-ng?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlemonldap-ngpkg:deb/ubuntu/lemonldap-ng?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlemonldap-ngpkg:deb/ubuntu/lemonldap-ng?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSlemonldap-ngpkg:deb/ubuntu/lemonldap-ng?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSlemonldap-ngpkg:deb/ubuntu/lemonldap-ng?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-59518 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-59518 (opens in a new tab)
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3462 (opens in a new tab)
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3470 (opens in a new tab)
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/6e86f70be5499d09dfaaff307632be8a10f7e58f (opens in a new tab)
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/0c1ae1644bbddad34da2644228953babf137f64c (opens in a new tab)
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9 (opens in a new tab)
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/8b5ce4de7716f550d353f406b4867378c81aee7c (opens in a new tab)
- gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462 (opens in a new tab)