# 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

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-09-22T00:50:45.117Z
- Modified: 2026-09-23T20:17:23.067Z
- Weaknesses: CWE-41
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- Dancer2: before 2.2.0

## References

- <https://github.com/PerlDancer/Dancer2/issues/1823> (issue-tracking)
- <https://github.com/PerlDancer/Dancer2/commit/293fce08812b0928f34ab2d7b9357450707c3630.patch> (patch)
- <https://github.com/PerlDancer/Dancer2/commit/753b385350a54acb8d4b686723890205268634a8.patch> (patch)
- <https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/09/22/1>

## Sources

- CVE List: [CVE-2026-93709](https://www.cve.org/CVERecord?id=CVE-2026-93709), CVE Terms of Use, modified 2026-09-23
- NVD: [CVE-2026-93709](https://nvd.nist.gov/vuln/detail/CVE-2026-93709), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-93709 · Whole record: https://cve.day/CVE-2026-93709.json · Rebuilt by cve.day 2026-11-25T22:59:40.407Z
