> CVE-2026-93712

« BACK_TO_HOME
PUBLISHED
2026-09-22 01:16
MODIFIED
2026-09-22 01:16
EPSS (Prob. Exploit)
0.55%
Top 55.2%
DATA SOURCES:
NVD 🔗 2026-09-22 CWE MITRE 🔗 2026-10-01 FIRST EPSS 🔗 2026-10-21 OSV 🔗 2026-10-19

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-22

> CWE DETAILED DESCRIPTIONS

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
1 versions affected
ALIASES:
GHSA-6xw8-v24c-m783

> HISTORIQUE DES MODIFICATIONS

Première apparition
22/09/2026 01:16
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - The product uses external input to construct a pathname that is intended to identify a file or directory that i...
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/PerlDancer/Dancer2/commit/2446a09ffb83fef71cc75c327bd6e4b1f00...
https://github.com/PerlDancer/Dancer2/security/advisories/GHSA-6xw8-v24c-m783
https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes
« BACK_TO_HOME