Vulnerability · Published Sep 25, 2026 · Assigned by CPANSec

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

Medium 6.5

In plain English

A medium-severity incorrect authorization in Lemonldap-NG-Handler. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.6%top 53.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12lemonldap-ng2.16.1+ds-deb12u10DEBIAN-CVE-2026-95811
Debian:13lemonldap-ng2.21.2+ds-1+deb13u4DEBIAN-CVE-2026-95811
Debian:14lemonldap-ng2.23.4+ds-1DEBIAN-CVE-2026-95811
Ubuntu:22.04:LTSlemonldap-ngno fix listedUBUNTU-CVE-2026-95811
Ubuntu:24.04:LTSlemonldap-ngno fix listedUBUNTU-CVE-2026-95811
Ubuntu:26.04:LTSlemonldap-ngno fix listedUBUNTU-CVE-2026-95811
Ubuntu:26.10lemonldap-ngno fix listedUBUNTU-CVE-2026-95811

Affected products (as reported)

VendorProductVersions
Lemonldap-NG-Handler 2.0.0 – before 2.16.102.17.0 – before 2.21.62.22.0 – before 2.23.4

Weakness: CWE-863, CWE-180 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

References