Read the docs
TI-2026-63105 Aliases CVE-2026-93712GHSA-fq22-f6q5-wv3x

Path traversal in Dancer2

Priority MEDIUM 40CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00548 46th percentileScored 2026-11-07
Fix Fixed Dancer2: 2.2.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Dancer22.1.0 to before 2.2.02.2.0Patch availableCNA
  • Dancer2 Vendor— Affected 2.1.0 to before 2.2.0 Fixed in 2.2.0 Patch available CNA

Remediation

  • Fix · CNA Dancer2 Fixed in 2.2.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-93712
  2. 2026-10-03 Alias added: GHSA-fq22-f6q5-wv3x

References

Sources