{"id":27375,"date":"2026-09-22T12:30:54","date_gmt":"2026-09-22T04:30:54","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93712"},"modified":"2026-09-22T12:30:54","modified_gmt":"2026-09-22T04:30:54","slug":"cve-2026-93712","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-93712","title":{"rendered":"CVE-2026-93712 &#8211; Dancer2 versions from 2.1.0 before 2.2.0 for Perl serve files from outside public_dir via"},"content":{"rendered":"<p>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.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>Any file the worker process can read is served to an unauthenticated request, including the application&#8217;s config.yml above public_dir.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n<p>The handler joins the request path onto public_dir without <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-27375","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/27375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}