> CVE-2026-93710

« BACK_TO_HOME
PUBLISHED
2026-09-22 01:16
MODIFIED
2026-09-22 01:16
EPSS (Prob. Exploit)
0.63%
Top 50.7%
DATA SOURCES:
NVD 🔗 2026-09-22 CWE MITRE 🔗 2026-10-01 FIRST EPSS 🔗 2026-10-21 OSV 🔗 2026-10-19

> 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

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-460

> CWE DETAILED DESCRIPTIONS

CWE-460: Improper Cleanup on Thrown Exception - The product does not clean up its state or incorrectly cleans up its state when an exception is thrown, leading to unexpected state or control flow.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
3 versions affected
ALIASES:
GHSA-v527-r4px-7vx7

> HISTORIQUE DES MODIFICATIONS

Première apparition
22/09/2026 01:16
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-460: Improper Cleanup on Thrown Exception - The product does not clean up its state or incorrectly cleans up its state when an exception is thrown, leading to unexpected state or control flow.
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/PerlDancer/Dancer2/commit/8fd31a32798f9aa25e4fccbd6c7cb9dd3a0...
https://github.com/PerlDancer/Dancer2/security/advisories/GHSA-v527-r4px-7vx7
https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes
« BACK_TO_HOME