CVE-2026-95811

NameCVE-2026-95811
DescriptionLemonldap::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4797-1, DSA-6520-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
lemonldap-ng (PTS)bookworm2.16.1+ds-deb12u8vulnerable
bookworm (security)2.16.1+ds-deb12u10fixed
trixie2.21.2+ds-1+deb13u3vulnerable
trixie (security)2.21.2+ds-1+deb13u4fixed
sid2.23.4+ds-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
lemonldap-ngsourcebookworm2.16.1+ds-deb12u10DLA-4797-1
lemonldap-ngsourcetrixie2.21.2+ds-1+deb13u4DSA-6520-1
lemonldap-ngsource(unstable)2.23.4+ds-1

Notes

https://lists.security.metacpan.org/cve-announce/msg/43833452/
https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/-/work_items/3723

Search for package or bug name: Reporting problems