CVE-2025-59518

lemonldap-ng: OS command injection can occur in the Safe jail

Published Sep 17, 2025 CVSS 3.1 · 8 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4602-1 lemonldap-ng security update
EUVD EUVD EUVD-2025-29680 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.
History
Type Values Removed Values Added
First Time appeared Lemonldap-ng lemonldap\
CPEs cpe:2.3:a:lemonldap-ng:lemonldap\:\:ng:*:*:*:*:*:*:*:*
Vendors & Products Lemonldap-ng lemonldap\
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title lemonldap-ng: OS command injection can occur in the Safe jail
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
First Time appeared Lemonldap-ng
Lemonldap-ng lemonldap::ng
Vendors & Products Lemonldap-ng
Lemonldap-ng lemonldap::ng
Type Values Removed Values Added
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.
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 11, 2026, 8:38 AM
Reserved
Sep 17, 2025, 12:00 AM
Status
Deferred
Published
Sep 17, 2025, 4:16 AM
Modified
Jun 17, 2026, 9:46 AM
Severity
Important
Public date
Sep 17, 2025, 12:00 AM