Vulnerability · Published Sep 22, 2026 · Assigned by CPANSec

CVE-2026-93709Dancer2 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

Medium 5.3

In plain English

A medium-severity security flaw in Dancer2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 60.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libdancer2-perlno fix listedDEBIAN-CVE-2026-93709
Debian:13libdancer2-perlno fix listedDEBIAN-CVE-2026-93709
Debian:14libdancer2-perl2.2.2-1DEBIAN-CVE-2026-93709
Ubuntu:22.04:LTSlibdancer2-perlno fix listedUBUNTU-CVE-2026-93709
Ubuntu:24.04:LTSlibdancer2-perlno fix listedUBUNTU-CVE-2026-93709
Ubuntu:26.04:LTSlibdancer2-perlno fix listedUBUNTU-CVE-2026-93709
Ubuntu:26.10libdancer2-perlno fix listedUBUNTU-CVE-2026-93709

Affected products (as reported)

VendorProductVersions
Dancer2 0 – before 2.2.0

Weakness: CWE-41 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References