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

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibdancer2-perlsid2.2.2-1fixed
Debianlibdancer2-perlforky2.2.2-1fixed
Debianlibdancer2-perltrixie1.1.2+dfsg-1vulnerable
Debianlibdancer2-perlbookworm0.400001+dfsg-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibdancer2-perlsourcesid2.2.2-1not yet assignedNot reported[1148732]
Debianlibdancer2-perlsourceforky2.2.2-1not yet assignedNot reported[1148732]
Debianlibdancer2-perlsourcetrixie(unfixed)not yet assignedNot reported[1148732]
Debianlibdancer2-perlsourcebookworm(unfixed)not yet assignedNot reported[1148732]

[Debian bug #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 · bookworm

      Affected

      nvd · libdancer2-perl · debian · bookworm; nvd · libdancer2-perl · debian · 12

    • 0.400001+dfsg-1 · all · bookworm

      Affected

      nvd · libdancer2-perl · debian · bookworm; nvd · libdancer2-perl · debian · 12

[Debian 13 (Trixie)]

  • [libdancer2-perl]Affected
    Details (2)
    • 1.1.2+dfsg-1 · all · trixie

      Affected

      nvd · libdancer2-perl · debian · 13

    • 1.1.2+dfsg-1 · all · trixie

      Affected

      nvd · libdancer2-perl · debian · 13

Observed:

References