
CVE catalog
CVE-2026-93712
Dancer2 versions from 2.1.0 before 2.2.0 for Perl serve files from outside public_dir via relative path segments in the File route handler. The handler joins the request path onto public_dir without
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.55% · Oct 25, 2026
Dancer2 versions from 2.1.0 before 2.2.0 for Perl serve files from outside public_dir via relative path segments in the File route handler. The handler joins the request path onto public_dir without collapsing relative segments, and checks only that the result is a readable regular file. A request for `/../outside.txt` escapes public_dir, and percent-encoding the dots reaches the same file. The handler is off by default. An application is affected once it names File in route_handlers and sets static_handler to 0, which otherwise refuses a dot segment before the route runs. Any file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libdancer2-perl | sid | 2.2.2-1 | fixed |
| Debian | libdancer2-perl | forky | 2.2.2-1 | fixed |
| Debian | libdancer2-perl | trixie | 1.1.2+dfsg-1 | vulnerable |
| Debian | libdancer2-perl | bookworm | 0.400001+dfsg-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libdancer2-perl | source | sid | 2.2.2-1 | not yet assigned | Not reported | [1148732] |
| Debian | libdancer2-perl | source | forky | 2.2.2-1 | not yet assigned | Not reported | [1148732] |
| Debian | libdancer2-perl | source | trixie | (unfixed) | not yet assigned | Not reported | [1148732] |
| Debian | libdancer2-perl | source | bookworm | (unfixed) | not yet assigned | Not reported | [1148732] |
Notes
[trixie] libdancer2-perl: Minor issue [bookworm] libdancer2-perl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libdancer2-perl]Affected
Details (2)
0.400001+dfsg-1· all · bookwormAffected
nvd · libdancer2-perl · debian · bookworm; nvd · libdancer2-perl · debian · 12
0.400001+dfsg-1· all · bookwormAffected
nvd · libdancer2-perl · debian · bookworm; nvd · libdancer2-perl · debian · 12
[Debian 13 (Trixie)]
- [libdancer2-perl]Affected
Details (2)
1.1.2+dfsg-1· all · trixieAffected
nvd · libdancer2-perl · debian · 13
1.1.2+dfsg-1· all · trixieAffected
nvd · libdancer2-perl · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_12202-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-93712]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-93712]
- [https://security-tracker.debian.org/tracker/CVE-2026-93712]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]