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
Dancer2 before 2.2.0 can serve files outside public_dir via relative path segments.
oss-security carries CVE-2026-93712, affecting the Perl web framework Dancer2 from version 2.1.0 before 2.2.0. The File route handler can serve files from outside the configured public_dir when a request uses relative path segments. Stig Palmquist posted the notice, pointing to the MetaCPAN distribution and the PerlDancer GitHub repository. The announcement does not say the flaw is being exploited.
- CVE-2026-93712 affects Dancer2 2.1.0 before 2.2.0.
- The File route handler follows relative paths outside public_dir.
- Stig Palmquist disclosed it on oss-security.
- The notice does not report exploitation in the wild.
Vulnerabilities mentionedAll →
- CVE-2026-937127.5—Unauthenticated RCE in Dancer2 2.1.0 before 2.2.0 for Perlpublished · Dancer2 (Perl)
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-93712 | Unauthenticated RCE in Dancer2 2.1.0 before 2.2.0 for Perl Dancer2 versions from 2.1.0 before 2.2.0 contain a vulnerability in the File route handler that allows unauthenticated access to files outside public_dir via relative path segments. An attacker can use requests like /../outside.txt or percent-encoded dots to reach arbitrary files, including application config.yml. The flaw is enabled when the File route handler is named and static_handler is set to 0, and it can serve any file the worker process can read without authentication. Do: Upgrade to Dancer2 2.2.0 or later. Disable the File route handler or set static_handler to 0 to prevent serving files outside public_dir. Verify that no attacker-controlled path or request can reach config.yml or other files outside public_dir. |
Posted by Stig Palmquist on Sep 21 ======================================================================== https://metacpan.org/dist/Dancer2 https://github.com/PerlDancer/Dancer2 Dancer2 versions from...
This source does not provide full text. Read it at seclists.org.