{"id":"CVE-2026-93710","summary":"Dancer2 versions from 2.0.0 before 2.2.0 for Perl dispatch a route that a dying hook refused when the exception handler halts the response in compile_hooks","details":"Dancer2 versions from 2.0.0 before 2.2.0 for Perl dispatch a route that a dying hook refused when the exception handler halts the response in compile_hooks.\n\nA hook that dies fires core.app.hook_exception, then calls cleanup unless the failing hook is the exception handler. A handler that halts does not stop that cleanup, which discards the request, response and session the dispatcher has yet to read, so the refused route runs.\n\nThe handler has to halt the response object by calling its halt method or setting is_halted: the halt keyword unwinds through with_return before cleanup runs.\n\nA check in a before hook is not enforced: the caller gets the refusal, while the route body runs and its writes land.","aliases":["GHSA-v527-r4px-7vx7"],"modified":"2026-09-22T11:46:01.351735718Z","published":"2026-09-22T00:51:37.356Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93710.json","cna_assigner":"CPANSec","cwe_ids":["CWE-460"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/09/22/2"},{"type":"WEB","url":"https://cpan.org/modules"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93710.json"},{"type":"PACKAGE","url":"https://github.com/PerlDancer/Dancer2"},{"type":"FIX","url":"https://github.com/PerlDancer/Dancer2/commit/8fd31a32798f9aa25e4fccbd6c7cb9dd3a0c1029.patch"},{"type":"ADVISORY","url":"https://github.com/PerlDancer/Dancer2/security/advisories/GHSA-v527-r4px-7vx7"},{"type":"ADVISORY","url":"https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93710"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/perldancer/dancer2","events":[{"introduced":"09f316678b8dd237d4c4ea0242e70e32591f5d64"},{"fixed":"9931faa20d48fbd017c500a88f9236a1276c0ea9"}],"database_specific":{"extracted_events":[{"introduced":"2.0.0"},{"fixed":"2.2.0"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.1.0","v2.0.1","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93710.json"}}],"schema_version":"1.9.0"}