CVE-2026-93709
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
- State
- Published
- Severity
- 5.3 Medium
- Published
- Sep 22, 2026
- Updated
- Sep 23, 2026
- Reserved
- Sep 18, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-41 Improper Resolution of Path Equivalence
Affected Products
| Product | Versions |
|---|---|
Dancer2 |
|
References
- https://github.com/PerlDancer/Dancer2/issues/1823issue-tracking
- https://github.com/PerlDancer/Dancer2/commit/293fce08812b0928f34ab2d7b9357450707c3630.patchpatch
- https://github.com/PerlDancer/Dancer2/commit/753b385350a54acb8d4b686723890205268634a8.patchpatch
- https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changesrelease-notes
- http://www.openwall.com/lists/oss-security/2026/09/22/1
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.