Skip to content
NewA calmer, faster ZeroHour
Vulnerability2 · 1 read

CVE-2026-93710

Unauthenticated Route Refusal in Dancer2 Versions 2.0.0-2.1.9

CVSS 3.1
7.5 high
EPSS
—
Published
·
Modified
Analyze CVE-2026-93710 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

Dancer2 versions prior to 2.2.0 contain a flaw in Perl dispatch where a dying hook can refuse a route. When the exception handler halts the response, the cleanup process fails to stop the request, response, and session, allowing a refused route to execute. Attackers can exploit this flaw to gain unauthorized access or execute commands on affected systems. The vulnerability is primarily present in Dancer2 versions from 2.0.0 up to 2.1.9, and there are no known public exploits.

What to do: Upgrade Dancer2 versions to 2.2.0 or later to mitigate the vulnerability. Apply mitigations such as strict exception handling and verification of the response halting mechanism. Monitor deployment for known versions and update accordingly.

ProductAffected
Dancer22.0.0 to 2.1.9
Estimated exposure
nicheNo basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

In the news

1 story