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
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/libdancer2-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libdancer2-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libdancer2-perl(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libdancer2-perl(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| cpan Dancer2 | >= 2.0.0, < 2.2.0 | 2.2.0 | Fixed |
| debian/libdancer2-perl(Debian 14) | < 2.2.2-1; = 1.1.2+dfsg-1; = 2.0.1-1; = 2.1.0-1 | 2.2.2-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cpan Dancer2 | >= 2.0.0, < 2.2.0 | 2.2.0 |
| debian/libdancer2-perl(Debian:14) | < 2.2.2-1 | 2.2.2-1 |
| debian/libdancer2-perl(Debian:14) | = 1.1.2+dfsg-1 | No fix listed |
| debian/libdancer2-perl(Debian:14) | = 2.0.1-1 | No fix listed |
| debian/libdancer2-perl(Debian:14) | = 2.1.0-1 | No fix listed |
| ubuntu/libdancer2-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libdancer2-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libdancer2-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libdancer2-perl(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com vendor-advisory
- github.com patch
- metacpan.org release-notes
- www.openwall.com
- Debian Security Tracker CVE-2026-93710 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-84256 third-party-advisory