CVE-2026-93710

NameCVE-2026-93710
DescriptionDancer2 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libdancer2-perl (PTS)bookworm0.400001+dfsg-1fixed
trixie1.1.2+dfsg-1fixed
forky, sid2.1.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libdancer2-perlsourcebookworm(not affected)
libdancer2-perlsourcetrixie(not affected)
libdancer2-perlsource(unstable)(unfixed)

Notes

[trixie] - libdancer2-perl <not-affected> (Vulnerable code introduced later in 2.0.0)
[bookworm] - libdancer2-perl <not-affected> (Vulnerable code introduced later in 2.0.0)
https://lists.security.metacpan.org/cve-announce/msg/43742969/
https://github.com/PerlDancer/Dancer2/security/advisories/GHSA-v527-r4px-7vx7
Fixed by: https://github.com/PerlDancer/Dancer2/commit/8fd31a32798f9aa25e4fccbd6c7cb9dd3a0c1029 (v2.2.0)

Search for package or bug name: Reporting problems