Skip to content

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

MediumCVSS 6.5 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 4 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/lemonldap-ng(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/lemonldap-ng(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/lemonldap-ng(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/lemonldap-ng(Ubuntu 26.10) All versions No fix listed No fix yet
cpan Lemonldap-NG-Handler >= 2.0.0, < 2.16.10; >= 2.17.0, < 2.21.6; >= 2.22.0, < 2.23.4 2.16.10, 2.21.6, 2.23.4 Fixed
debian/lemonldap-ng(Debian 12) < 2.16.1+ds-deb12u10; = 2.16.1+ds-2; = 2.16.1+ds-deb12u1; = 2.16.1+ds-deb12u2 +7 more 2.16.1+ds-deb12u10 Fixed
debian/lemonldap-ng(Debian 13) < 2.21.2+ds-1+deb13u4; = 2.21.2+ds-1; = 2.21.2+ds-1+deb13u1; = 2.21.2+ds-1+deb13u2 +1 more 2.21.2+ds-1+deb13u4 Fixed
debian/lemonldap-ng(Debian 14) < 2.23.4+ds-1; = 2.21.2+ds-1; = 2.21.2+ds-2; = 2.21.3+ds-1 +21 more 2.23.4+ds-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Lemonldap-NG-Handler >= 2.0.0, < 2.16.10 2.16.10
cpan Lemonldap-NG-Handler >= 2.17.0, < 2.21.6 2.21.6
cpan Lemonldap-NG-Handler >= 2.22.0, < 2.23.4 2.23.4
debian/lemonldap-ng(Debian:12) < 2.16.1+ds-deb12u10 2.16.1+ds-deb12u10
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-2 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u1 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u2 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u3 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u4 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u5 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u6 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u7 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u8 No fix listed
debian/lemonldap-ng(Debian:12) = 2.16.1+ds-deb12u9 No fix listed
debian/lemonldap-ng(Debian:13) < 2.21.2+ds-1+deb13u4 2.21.2+ds-1+deb13u4
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1+deb13u1 No fix listed
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1+deb13u2 No fix listed
debian/lemonldap-ng(Debian:13) = 2.21.2+ds-1+deb13u3 No fix listed
debian/lemonldap-ng(Debian:14) < 2.23.4+ds-1 2.23.4+ds-1
debian/lemonldap-ng(Debian:14) = 2.21.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.2+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.3+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.3+ds-1~bpo12+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.21.3+ds-1~bpo13+1 No fix listed
Show 23 more
ProductAffected versionsFixed in
debian/lemonldap-ng(Debian:14) = 2.22.0+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.0+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.0+ds-2~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.1+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.1+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.2+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.3+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.22.3+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-3 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-3~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.0+ds-4 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.1+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.2+ds-1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.2+ds-1~bpo13+1 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.2+ds-2 No fix listed
debian/lemonldap-ng(Debian:14) = 2.23.3+ds-1 No fix listed
ubuntu/lemonldap-ng(Ubuntu:22.04) All versions No fix listed
ubuntu/lemonldap-ng(Ubuntu:24.04) All versions No fix listed
ubuntu/lemonldap-ng(Ubuntu:26.04) All versions No fix listed
ubuntu/lemonldap-ng(Ubuntu:26.10) All versions No fix listed

References