CVE-2026-93709: CWE-41 Improper Resolution of Path Equivalence
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.
AI Analysis
Technical Summary
Dancer2 versions prior to 2.2.0 have a CWE-41 Improper Resolution of Path Equivalence vulnerability in the AutoPage handler. The handler compares request paths against layout directory names as plain text, but subsequent lookup canonicalizes the path. This mismatch allows paths with doubled slashes, dot segments, percent-encoded slashes, or case differences on case-insensitive filesystems to bypass the guard, resulting in serving a layout as a page. Since the layout wrapping every page is already public, the vulnerability discloses an additional layout of the application. The AutoPage feature is disabled by default and must be explicitly enabled for exploitation.
Potential Impact
This vulnerability can disclose one of the application's other layouts by serving it as a page when the AutoPage handler is enabled. Since the layout is already public, the impact is limited to revealing additional layout content, not sensitive data or code execution. There are no known exploits in the wild.
Mitigation Recommendations
Upgrade to Dancer2 version 2.2.0 or later where this issue is fixed. If upgrading is not immediately possible, disable the AutoPage handler to prevent exposure. No other mitigation is indicated by the vendor advisory.
CVE-2026-93709: CWE-41 Improper Resolution of Path Equivalence
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 software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Dancer2 versions prior to 2.2.0 have a CWE-41 Improper Resolution of Path Equivalence vulnerability in the AutoPage handler. The handler compares request paths against layout directory names as plain text, but subsequent lookup canonicalizes the path. This mismatch allows paths with doubled slashes, dot segments, percent-encoded slashes, or case differences on case-insensitive filesystems to bypass the guard, resulting in serving a layout as a page. Since the layout wrapping every page is already public, the vulnerability discloses an additional layout of the application. The AutoPage feature is disabled by default and must be explicitly enabled for exploitation.
Potential Impact
This vulnerability can disclose one of the application's other layouts by serving it as a page when the AutoPage handler is enabled. Since the layout is already public, the impact is limited to revealing additional layout content, not sensitive data or code execution. There are no known exploits in the wild.
Mitigation Recommendations
Upgrade to Dancer2 version 2.2.0 or later where this issue is fixed. If upgrading is not immediately possible, disable the AutoPage handler to prevent exposure. No other mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-09-18T15:05:23.319Z
- State
- PUBLISHED
Threat ID: 6ab1d39c55bf5e2cf5ca3a31
Added to database: 09/22/2026, 01:02:20 UTC
Last enriched: 09/22/2026, 01:16:54 UTC
Last updated: 09/22/2026, 01:32:46 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.