# CVE-2026-93710: 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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-09-22T00:51:37.356Z
- Modified: 2026-09-22T20:17:12.270Z
- Weaknesses: CWE-460
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

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.

A 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.

The 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.

A check in a before hook is not enforced: the caller gets the refusal, while the route body runs and its writes land.

(As written by CVE List.)

## Affected

- Dancer2: from 2.0.0 before 2.2.0

## References

- <https://github.com/PerlDancer/Dancer2/security/advisories/GHSA-v527-r4px-7vx7> (vendor-advisory)
- <https://github.com/PerlDancer/Dancer2/commit/8fd31a32798f9aa25e4fccbd6c7cb9dd3a0c1029.patch> (patch)
- <https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/09/22/2>

## Sources

- CVE List: [CVE-2026-93710](https://www.cve.org/CVERecord?id=CVE-2026-93710), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-93710](https://nvd.nist.gov/vuln/detail/CVE-2026-93710), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-93710 · Whole record: https://cve.day/CVE-2026-93710.json · Rebuilt by cve.day 2026-11-25T22:59:40.407Z
