# 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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **CWE:** CWE-41
- **Published:** 2026-09-22T00:50:45.117Z
- **Modified:** 2026-09-23T20:17:23.067Z

## Who should check

- Anyone running Dancer2 \< 2.2.0

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

## Affected and fixed versions

- Dancer2: \< 2.2.0 (cvelist)

## Mitigation

- Upgrade Dancer2 to 2.2.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-93709. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-93709.md
Affected: Dancer2 < 2.2.0
Fixed in: Dancer2 2.2.0

Steps:
1. Search this machine and project for Dancer2: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-93709 being exploited?

There is no confirmed exploitation: CVE-2026-93709 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-93709?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-93709?

Dancer2 \< 2.2.0.

### Is there a fix for CVE-2026-93709?

Yes. Fixed in Dancer2 2.2.0. Upgrade Dancer2 to 2.2.0 or later.

### How do I check if I'm affected by CVE-2026-93709?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-93709>

HTML: <https://flawdb.com/CVE-2026-93709> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-93709>
