High severity · published Sep 17, 2025
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
8.0
CVSS
1.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.1% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LE
LemonLDAP::NG · lemonldap-ng
before 2.16.7; 2.17.0 before 2.21.3 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-59518
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-59518
gitlab.ow2.org
https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9
gitlab.ow2.org
https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462
More from LemonLDAP::NG
9.8
CVE-2019-19791
In LemonLDAP::NG (aka lemonldap-ng) before 2.0.7, the default Apache HTTP Server configuration does not properly restrict access to SOAP/REST endpoints (when some LemonLDAP::NG…
9.8
CVE-2023-28862
An issue was discovered in LemonLDAP::NG before 2.16.1
9.8
CVE-2021-40874
An issue was discovered in LemonLDAP::NG (aka lemonldap-ng) 2.0.13
9.8
CVE-2020-24660
An issue was discovered in LemonLDAP::NG through 2.0.8, when NGINX is used
9.8
CVE-2019-15941
OpenID Connect Issuer in LemonLDAP::NG 2.x through 2.0.5 may allow an attacker to bypass access control rules via a crafted OpenID Connect authorization request
