CVE-2026-93710
published high CVSS 3.1 · 7.5Dancer2 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
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Dancer22.0.0 to < 2.2.0 · Other versions: unaffected | Affected | Not stated | CPANSec |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Dancer2aarch64 | Advisory build | 2.2.2-1.1 | OPENSUSE-SU-2026:12202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Dancer2ppc64le | Advisory build | 2.2.2-1.1 | OPENSUSE-SU-2026:12202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Dancer2s390x | Advisory build | 2.2.2-1.1 | OPENSUSE-SU-2026:12202-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Dancer2x86_64 | Advisory build | 2.2.2-1.1 | OPENSUSE-SU-2026:12202-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Dancer2 | 2.0.0 to < 2.2.0 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-460 CWE-460 Improper Cleanup on Thrown Exception
References
4Provider assertions
3CPANSec · cna
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
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b4f3aac2bf5d30e75c8b622674343076c1356a73991aca88109d04f8ae33323c
- Ingested
- 23 Sep 2026, 09:40:48 UTC
- Source record
- Official CVE record