Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-95811 EUVD-2026-86497GHSA-3rh3-f3vh-mgjh

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

Published Sep 25, 2026 · Updated Sep 26, 2026 · Assigned by CPANSec

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 products

VendorProductAffectedFixed
— Lemonldap-NG-Handler 2.0.0 – < 2.16.10, 2.17.0 – < 2.21.6, 2.22.0 – < 2.23.4 2.16.10

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 lemonldap-ng 2.23.4+ds-1 —
Debian 13 lemonldap-ng 2.21.2+ds-1+deb13u4 —
Debian 12 lemonldap-ng 2.16.1+ds-deb12u10 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 lemonldap-ng No fix yet —
Ubuntu 26.04 LTS lemonldap-ng No fix yet —
Ubuntu 24.04 LTS lemonldap-ng No fix yet —
Ubuntu 22.04 LTS lemonldap-ng No fix yet —
Ubuntu 20.04 LTS lemonldap-ng No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS lemonldap-ng No fix yet —
Ubuntu 16.04 LTS lemonldap-ng No fix yet —

References