{"id":"CVE-2025-59518","state":"PUBLISHED","title":"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 adminis","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.","publishedAt":"2025-09-17T00:00:00.000Z","updatedAt":"2026-05-11T08:38:41.992Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","source":"mitre"},"assigner":"mitre","products":["lemonldap-ng LemonLDAP::NG"],"affected":[{"vendor":"lemonldap-ng","product":"LemonLDAP::NG","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.16.7","versionType":"semver"},{"version":"2.17.0","status":"affected","lessThan":"2.21.3","versionType":"semver"}]}],"references":["https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462","https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/59xxx/CVE-2025-59518.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-59518","state":"PUBLISHED","datePublished":"2025-09-17T00:00:00.000Z","dateUpdated":"2026-05-11T08:38:41.992Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-09-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"lemonldap-ng","product":"LemonLDAP::NG","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.16.7","versionType":"semver"},{"version":"2.17.0","status":"affected","lessThan":"2.21.3","versionType":"semver"}]}],"references":[{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues/3462"},{"url":"https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/commit/228d01945d48015f3f9ea8a8dc64d7e6a27750e9"}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2026-05-11T08:38:41.992Z"},"x_generator":{"engine":"enrichogram 0.0.1"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:lemonldap-ng:lemonldap\\:\\:ng:*:*:*:*:*:*:*:*","versionEndExcluding":"2.16.7"},{"vulnerable":true,"criteria":"cpe:2.3:a:lemonldap-ng:lemonldap\\:\\:ng:*:*:*:*:*:*:*:*","versionStartIncluding":"2.17.0","versionEndExcluding":"2.21.3"}]}]}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-17T13:25:41.838580Z","id":"CVE-2025-59518","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-17T13:25:47.958Z"}}]}}}