CVE-2026-47219
JSON

7.5high

find-my-way is Vulnerable to DDoS with HTTP2

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-c96f-x56v-gq3h

Description

find-my-way is a framework-independent HTTP router that internally uses a Radix Tree and supports route parameters and wildcards. Versions prior to 9.7.0 are vulnerable to remotely triggerable DoS in find-my-way when it is used with Node's HTTP/2 server. The lookup() function passes req.method into find(), and find() indexes this.trees[method]. Since this.trees is a normal object, HTTP/2 method values like constructor, toString, or __proto__ can resolve inherited object properties instead of returning undefined. The code then treats that value like a router node and crashes when it reaches currentNode.prefix.length. This issue has been fixed in version 9.0.7.

Affected

Product or packageVersionsReported by
delvedor find-my-way< 9.7.0CVE List
find-my-way (npm)before 9.7.0GitHub Advisory Database

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-20CWE-248CWE-1321

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

find-my-way is a framework-independent HTTP router that internally uses a Radix Tree and supports route parameters and wildcards. Versions prior to 9.7.0 are vulnerable to remotely triggerable DoS in find-my-way when it is used with Node's HTTP/2 server. The lookup() function passes req.method into find(), and find() indexes this.trees[method]. Since this.trees is a normal object, HTTP/2 method values like constructor, toString, or __proto__ can resolve inherited object properties instead of returning undefined. The code then treats that value like a router node and crashes when it reaches currentNode.prefix.length. This issue has been fixed in version 9.0.7.

GitHub Advisory Database
Impact

Remotely triggerable DoS in find-my-way when it is used with Node's HTTP/2 server.

The short version is that lookup() passes req.method into find(), and find() indexes this.trees[method]. Since this.trees is a normal object, HTTP/2 method values like constructor, toString, or __proto__ can resolve inherited object properties instead of returning undefined. The code then treats that value like a router node and crashes when it reaches currentNode.prefix.length.

Patches

Upgrade to v9.7.0.

Workarounds

Do not use find-my-way with HTTP/2 servers, or validate that the http method is valid beforehand.

NVD (es)

find-my-way es un router HTTP independiente del framework que internamente utiliza un Árbol Radix y soporta parámetros de ruta y comodines. Las versiones anteriores a la 9.7.0 son vulnerables a un DoS que puede ser activado remotamente en find-my-way cuando se utiliza con el servidor HTTP/2 de Node. La función lookup() pasa req.method a find(), y find() indexa this.trees[method]. Dado que this.trees es un objeto normal, los valores de método HTTP/2 como constructor, toString o __proto__ pueden resolver propiedades de objeto heredadas en lugar de devolver undefined. El código entonces trata ese valor como un nodo de router y falla cuando alcanza currentNode.prefix.length. Este problema ha sido solucionado en la versión 9.0.7.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-47219 changed 2026-07-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-c96f-x56v-gq3h changed 2026-07-23CC-BY-4.0
NVDCVE-2026-47219 changed 2026-10-23Public domain