CVE-2026-93709Dancer2 versions before 2.2.0 for Perl serve a layout as a page when an equivalent…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libdancer2-perl | Fix pending | UBUNTU-CVE-2026-93709 | |
| Ubuntu 26.04 | libdancer2-perl | Under investigation | UBUNTU-CVE-2026-93709 | |
| Ubuntu 24.04 | libdancer2-perl | Under investigation | UBUNTU-CVE-2026-93709 | |
| Ubuntu 22.04 | libdancer2-perl | Under investigation | UBUNTU-CVE-2026-93709 | |
| Ubuntu 20.04 | libdancer2-perl | Fix pending | UBUNTU-CVE-2026-93709 | |
| Ubuntu 18.04 | libdancer2-perl | Fix pending | UBUNTU-CVE-2026-93709 | |
| Ubuntu 16.04 | libdancer2-perl | Fix pending | UBUNTU-CVE-2026-93709 | |
| Debian 14 | libdancer2-perl | Fixed | 2.2.2-1 | DEBIAN-CVE-2026-93709 |
| Debian 13 | libdancer2-perl | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-93709 | |
| Debian 12 | libdancer2-perl | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2026-93709 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Dancer2: affected: before 2.2.0; fixed in
2.2.0
Solution: Upgrade to Dancer2 2.2.0 or later.
Vendor advisories:
- https://github.com/PerlDancer/Dancer2/commit/293fce08812b0928f34ab2d7b9357450707c3630.pat… (patch)
- https://github.com/PerlDancer/Dancer2/commit/753b385350a54acb8d4b686723890205268634a8.pat… (patch)
- https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes (release-notes)
References
- https://github.com/PerlDancer/Dancer2/issues/1823
- https://github.com/PerlDancer/Dancer2/commit/293fce08812b0928f34ab2d7b9357450707c3630.patch
- https://github.com/PerlDancer/Dancer2/commit/753b385350a54acb8d4b686723890205268634a8.patch
- https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.