CVE-2026-95811
published medium CVSS 3.1 · 6.5Lemonldap::NG::Handler versions from 2.0.0 before 2.16.10, from 2.17.0 before 2.21.6, from 2.22.0 before 2.23.4 for Perl allow an equivalent spelling of a path to bypass the locationRules that restrict it
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Lemonldap-NG-Handler2.0.0 to < 2.16.10 · 2.17.0 to < 2.21.6 · 2.22.0 to < 2.23.4 · Other versions: unaffected | Affected | Not stated | CPANSec |
| Debian | bookworm | lemonldap-ng | Advisory build | 2.16.1+ds-deb12u10 | DLA-4797-1 |
| Debian | trixie | lemonldap-ng | Advisory build | 2.21.2+ds-1+deb13u4 | DSA-6520-1 |
Description
Lemonldap::NG::Handler versions from 2.0.0 before 2.16.10, from 2.17.0 before 2.21.6, from 2.22.0 before 2.23.4 for Perl allow an equivalent spelling of a path to bypass the locationRules that restrict it. The handler matches each vhost's locationRules regular expressions against REQUEST_URI, the raw request line, while the web server routes on the path it has already percent-decoded and normalized. A request that percent-encodes a character of the path, inserts dot segments, or doubles a slash therefore reaches the protected resource under a URI that no rule regexp matches, and the vhost's default rule decides access. Deny rules, identity and group conditions, and unprotect and skip rules are bypassed alike. Only a vhost whose default rule is more permissive than its other rules is affected. An authenticated user then reaches any URL a locationRules regexp was meant to restrict, but gains no more than that default rule already grants.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Lemonldap-NG-Handler | 2.0.0 to < 2.16.10 (affected · custom)2.17.0 to < 2.21.6 (affected · custom)2.22.0 to < 2.23.4 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-863 CWE-863 Incorrect Authorization
- CWE-180 CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
References
7- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3723
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.16.10
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.21.6
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.4
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/work_items/3723
- https://lists.debian.org/debian-lts-announce/2026/09/msg00032.html
- https://www.cve.org/CVERecord?id=CVE-2020-24660
Provider assertions
3CPANSec · cna
Lemonldap::NG::Handler versions from 2.0.0 before 2.16.10, from 2.17.0 before 2.21.6, from 2.22.0 before 2.23.4 for Perl allow an equivalent spelling of a path to bypass the locationRules that restrict it
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0c8c8223a87be4b571a45e768e002faa8397cb2eda89a0e655367bdbb78f19a8
- Ingested
- 30 Sep 2026, 15:35:53 UTC
- Source record
- Official CVE record