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.

High 7.5 Published Updated

Attackers can bypass security checks in Dancer2 hooks, causing refused routes to execute and modify data despite intended blocks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-93710?

CVE-2026-93710 is a high-severity vulnerability, published on 22 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-460

Which versions are affected by CVE-2026-93710?

How do I fix CVE-2026-93710?

Upgrade to a fixed version.

Is CVE-2026-93710 being exploited?

There is no known exploitation of CVE-2026-93710 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2026-93710, GHSA-qp5m-r6hx-rjhj, GHSA-v527-r4px-7vx7, UBUNTU-CVE-2026-93710.

Is CVE-2026-93710 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free