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.
Published: 2026-09-25
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Access Control Bypass
Action: Upgrade Now
AI Analysis

Impact

This vulnerability occurs in Lemonldap::NG::Handler when a request URI is percent‑encoded or contains dot segments or double slashes, causing the raw request line that the handler matches against locationRules to differ from the server‑decoded path used for authorization. As a result, a protected resource can be reached under a URI that does not match any locationRules, and the virtual host’s default rule is applied. The effect is that denial, identity, group, and skip rules are all bypassed, allowing an authenticated user to access any URL that the locationRules were intended to restrict, but no more privileged than its default rule would normally grant.

Affected Systems

The product affected is Lemonldap‑NG‑Handler (Perl). Versions impacted are all releases from 2.0.0 up to 2.16.9, from 2.17.0 up to 2.21.5, and from 2.22.0 up to 2.23.3. Only a virtual host whose default rule is more permissive than its explicit locationRules can be affected. The issue is present in the Perl implementation of the handler.

Risk and Exploitability

A web attacker can exploit this by crafting a URL that percent‑encodes a path character, inserts dot segments, or doubles a slash, causing the request to bypass the intended access controls. While the vulnerability does not provide outright remote code execution, it enables unauthorized access to resources that the default rule otherwise would block. The attacker must be authenticated to the service. With a CVSS score of 6.5 and an EPSS score of less than 1 %, the vulnerability is considered moderate in severity and is unlikely to be widely exploited. It is not listed in CISA’s KEV catalog, indicating no known large‑scale exploit seen. The risk remains significant for configurations where the default rule is more permissive than the explicit locationRules.

Generated by OpenCVE AI on September 26, 2026 at 00:05 UTC.

Remediation

Vendor Solution

Upgrade to Lemonldap-NG-Handler 2.16.10, 2.21.6 or 2.23.4 or later. Only 2.23.4 is on CPAN; the 2.16.10 and 2.21.6 LTS releases are available from https://lemonldap-ng.org/download.html.


OpenCVE Recommended Actions

  • Upgrade Lemonldap::NG::Handler to version 2.16.10, 2.21.6, 2.23.4, or later. The 2.23.4 release is available on CPAN; the 2.16.10 and 2.21.6 LTS releases can be obtained from the Lemonldap‑NG download site.
  • Ensure that for every virtual host the default rule is set to deny all or otherwise does not grant more permissions than the explicit locationRules. This guarantees that no request can be routed to a protected resource when the locationRules do not match.
  • If an immediate upgrade is not possible, temporarily reconfigure each virtual host to use a restrictive default rule that explicitly denies all access, and enforce no other rules that might allow access to protected resources. This mitigates the bypass until the software can be upgraded.

Generated by OpenCVE AI on September 26, 2026 at 00:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4797-1 lemonldap-ng security update
Debian DSA Debian DSA DSA-6520-1 lemonldap-ng security update
History

Sat, 26 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
References

Fri, 25 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Ow2
Ow2 lemonldap-ng
Vendors & Products Ow2
Ow2 lemonldap-ng

Fri, 25 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
References
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Sep 2026 01:45:00 +0000

Type Values Removed Values Added
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.
Title 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
Weaknesses CWE-180
CWE-863
References

Subscriptions

Ow2 Lemonldap-ng
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-09-26T15:07:03.342Z

Reserved: 2026-09-22T15:43:06.362Z

Link: CVE-2026-95811

cve-icon Vulnrichment

Updated: 2026-09-26T15:07:03.342Z

cve-icon NVD

Status : Deferred

Published: 2026-09-25T02:16:54.677

Modified: 2026-09-26T16:16:39.087

Link: CVE-2026-95811

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T00:15:16Z

Weaknesses
  • CWE-180

    Incorrect Behavior Order: Validate Before Canonicalize

  • CWE-863

    Incorrect Authorization