Vulnerability

CVE-2026-93710

highCVSS 3.1 7.5Published 22 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /PerlDancer/Dancer2/commit/8fd31a32798f9aa25e4fccbd6c7cb9dd…
  • github.com /PerlDancer/Dancer2/security/advisories/GHSA-v527-r4px-7vx7
  • metacpan.org /release/CROMEDOME/Dancer2-2.2.0/changes
  • www.openwall.com /lists/oss-security/2026/09/22/2

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning