OS Command Injection Vulnerability in LemonLDAP::NG Affects Safe Jail Functionality
CVE-2025-59518

8HIGH

Key Information:

Vendor
CVE Published:
17 September 2025

What is CVE-2025-59518?

An OS command injection vulnerability exists in LemonLDAP::NG versions prior to 2.16.7 and from 2.17 to 2.21 before 2.21.3. This issue arises due to a flaw in the Safe jail mechanism, which does not properly localize the underscore character during rule evaluation. As a result, a malicious administrator who can modify rules evaluated by the Safe jail may execute arbitrary commands on the server, potentially compromising sensitive data and system integrity.

Affected Version(s)

LemonLDAP::NG 0 < 2.16.7

LemonLDAP::NG 2.17.0 < 2.21.3

References

CVSS V3.1

Score:
8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-59518 : OS Command Injection Vulnerability in LemonLDAP::NG Affects Safe Jail Functionality