High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-59518
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 07:17 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-59518
Complete source record
{
"id": "a9140498d2a84dfe6cbfc365092df4f3badbd73079603999cc8cf098778ce9d7",
"url": "https://osv.dev/vulnerability/CVE-2025-59518",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-59518",
"summary": "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.",
"evidence": "osv:CVE-2025-59518",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-59518",
"aliases": [
"CVE-2025-59518"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "6f888e84213c1819e7b8924dd50875246b9654a4"
},
{
"introduced": "90a97ab1d90f1d32eaf56d0e4f3a72ca7cb40877"
},
{
"fixed": "a592316cbec75e48c34a6d77008643caa0e14aaa"
},
{
"fixed": "228d01945d48015f3f9ea8a8dc64d7e6a27750e9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.16.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "2.17.0"
},
{
"fixed": "2.21.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "228d01945d48015f3f9ea8a8dc64d7e6a27750e9"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.16.6",
"v2.21.2",
"v2.21.1",
"v2.16.5",
"v2.21.0",
"v2.16.4",
"v2.20.0",
"v2.19.0",
"v2.16.3",
"v2.18.1",
"v2.18.0",
"v2.0.2",
"ubuntu/disco",
"debian/buster",
"v2.0.11",
"ubuntu/hirsute",
"debian/bullseye",
"v2.17.0",
"v2.16.2",
"v2.16.1",
"debian/bookworm",
"v2.0.15.1",
"v2.0.15",
"v2.0.14",
"v2.0.13",
"ubuntu/jammy",
"v2.0.12",
"v2.0.10",
"v2.0.9",
"v2.0.8",
"ubuntu/groovy",
"v2.0.7",
"ubuntu/focal",
"v2.0.6",
"v2.0.4",
"v2.0.3",
"v2.0.1",
"v2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59518.json"
}
}
],
"modified": "2026-10-28T02:30:26.594226875Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59518.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-59518",
"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462",
"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9"
],
"provider_metadata": {
"cwe_ids": [
"CWE-78"
],
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59518.json"
}
},
"related_cves": [
{
"value": "CVE-2025-59518",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493328,
"published_at": "2025-09-17T00:00:00+00:00"
}