CVE-2026-93709
mediumDancer2 versions before 2.2.0 for Perl serve a layout as a page when an equivalent spelling of its path misses the guard in the AutoPage handler.
Dancer2 versions before 2.2.0 for Perl serve a layout as a page when an equivalent spelling of its path misses the guard in the AutoPage handler. The handler compares the request path against the layout directory name as text, while the lookup that follows canonicalises it. A doubled slash, a dot segment, a percent-encoded slash, or a different capitalisation on a case-insensitive filesystem therefore misses the guard. The handler is off by default, enabled with auto_page. The layout wrapping every page is already public, so this discloses one of the application's other layouts.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/PerlDancer/Dancer2/commit/293fce08812b0928f34ab2d7b9357450707c3630.patc... 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://github.com/PerlDancer/Dancer2/commit/753b385350a54acb8d4b686723890205268634a8.patc... 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://github.com/PerlDancer/Dancer2/issues/1823 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e
- http://www.openwall.com/lists/oss-security/2026/09/22/1 af854a3a-2127-422b-91ae-364da2661108
