{"id":"CVE-2026-93712","aliases":["DEBIAN-CVE-2026-93712","EUVD-2026-84258","GHSA-6xw8-v24c-m783","GHSA-fq22-f6q5-wv3x","UBUNTU-CVE-2026-93712","openSUSE-SU-2026:12202-1"],"status":"published","title":"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","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.\n\nThe 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.\n\nThe 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.\n\nAny file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00548,"percentile":0.46329,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2026-09-22T00:52:36Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"Debian:14","package":"libdancer2-perl","fixed_in":["2.2.2-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.400001+dfsg-1","1.0.0+dfsg-1","1.1.0+dfsg-1","1.1.1+dfsg-1","1.1.2+dfsg-1","2.0.1-1","2.1.0-1","2.2.2-1"]},{"source":"osv","ecosystem":"Debian:13","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2+dfsg-1","2.0.1-1","2.1.0-1","2.2.2-1"]},{"source":"osv","ecosystem":"Debian:14","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2-1"}]}],"versions":["1.1.2+dfsg-1","2.0.1-1","2.1.0-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.160003+dfsg-1","0.163000+dfsg-1","0.166001+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.205000+dfsg-1","0.205002+dfsg-1","0.205002+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.208001+dfsg-1","0.208002+dfsg-1","0.300000+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.300005+dfsg-1","0.301004+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.400001+dfsg-1","1.0.0+dfsg-1","1.1.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2+dfsg-1","2.1.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libdancer2-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2+dfsg-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"perl-Dancer2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.2-1.1"}]}],"bundled":4}],"references":[{"url":"https://github.com/PerlDancer/Dancer2/security/advisories/GHSA-6xw8-v24c-m783","tags":["vendor-advisory","advisory","report"]},{"url":"https://github.com/PerlDancer/Dancer2/commit/2446a09ffb83fef71cc75c327bd6e4b1f007b885.patch","tags":["patch","fix","report"]},{"url":"https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes","tags":["release-notes","advisory","report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/09/22/4","tags":["web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93712","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-fq22-f6q5-wv3x"},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93712.json","tags":["advisory"]},{"url":"https://github.com/PerlDancer/Dancer2","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-93712","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-93712","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-93712","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/43742973/","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-93709","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-93710","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-93711","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-93712","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-93712","title":"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","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.\n\nThe 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.\n\nThe 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.\n\nAny file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.","status":"published","published":"2026-09-22T00:52:36.047Z","modified":"2026-09-22T19:19:59.077Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:19:54.50686Z"}],"euvd":[{"id":"EUVD-2026-84258","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.\n\nThe 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.\n\nThe 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.\n\nAny file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.","status":"published","published":"2026-09-22T00:52:36Z","modified":"2026-09-22T19:19:59Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T17:28:01.71506Z"}],"ghsa":[{"id":"GHSA-fq22-f6q5-wv3x","title":"Dancer2 versions from 2.1.0 before 2.2.0 for Perl serve files from outside public_dir via...","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.\n\nThe 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.\n\nThe 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.\n\nAny file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.","status":"published","published":"2026-09-22T03:31:00Z","modified":"2026-09-22T21:31:13Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:12:18.539197Z"}],"nvd":[{"id":"CVE-2026-93712","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.\n\nThe 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.\n\nThe 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.\n\nAny file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.","status":"published","published":"2026-09-22T01:16:55.957Z","modified":"2026-09-22T20:17:12.58Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:50.368368Z"}],"osv":[{"id":"CVE-2026-93712","title":"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","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.\n\nThe 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.\n\nThe 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.\n\nAny file the worker process can read is served to an unauthenticated request, including the application's config.yml above public_dir.","status":"published","published":"2026-09-22T00:52:36.047Z","modified":"2026-10-28T02:31:08.469358877Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:45:20.931171Z"},{"id":"DEBIAN-CVE-2026-93712","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.","status":"published","published":"2026-09-22T01:16:55.957Z","modified":"2026-10-04T17:00:11.96279285Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:46:06.846102Z"},{"id":"UBUNTU-CVE-2026-93712","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.","status":"published","published":"2026-09-22T01:16:00Z","modified":"2026-10-17T13:01:18.663743154Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T16:57:44.071534Z"},{"id":"openSUSE-SU-2026:12202-1","title":"perl-Dancer2-2.2.2-1.1 on GA media","description":"These are all security issues fixed in the perl-Dancer2-2.2.2-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-10-20T00:00:00Z","modified":"2026-10-21T17:23:13.855717357Z","updated_at":"2026-11-02T16:58:40.245664Z"}]}}
