GitHub Advisoryadvisory · npm
GHSA-c96f-x56v-gq3h find-my-way: DDoS with HTTP2
HIGH
Official page ↗
- Aliases
- CVE-2026-47219
- Ecosystem
- npm
- Packages
- find-my-way
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2026-07-23
Affected packages
• npm find-my-way: < 9.7.0 → fixed in 9.7.0
Description
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.
Related
Alias · CVE (1)
- CVE-2026-47219 find-my-way is a framework-independent HTTP router that internally uses a Radix Tree and supports route parameters and wildcards. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://github.com/delvedor/find-my-way/security/advisories/GHSA-c96f-x56v-gq3h web
- https://github.com/delvedor/find-my-way/pull/434 web
- https://github.com/delvedor/find-my-way/commit/cfe3fd6168b5ac1594c0820fb83fce251a533fc1 web
- https://github.com/delvedor/find-my-way package
- https://github.com/delvedor/find-my-way/releases/tag/v9.7.0 web