CVE-2026-21717
Last modified
CVE-2026-21717 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable. By crafting a request that causes many such collisions in V8's internal string table, an attacker can significantly degrade performance of the Node.js process. The most common trigger is any endpoint that calls `JSON.parse()` on attacker-controlled input, as JSON parsing automatically internalizes short strings into the affected hash table. This vulnerability affects **20.x, 22.x, 24.x, and 25.x**.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable. By crafting a request that causes many such collisions in V8's internal string table, an attacker can significantly degrade performance of the Node.js process. The most common trigger is any endpoint that calls `JSON.parse()` on attacker-controlled input, as JSON parsing automatically internalizes short strings into the affected hash table. This vulnerability affects **20.x, 22.x, 24.x, and 25.x**.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nodejs | Node.Js | <= 20.20.1 |
| Nodejs | Node.Js | >= 22.0.0, <= 22.22.1 |
| Nodejs | Node.Js | >= 24.0.0, <= 24.14.0 |
| Nodejs | Node.Js | >= 25.0.0, <= 25.8.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-21717?
How severe is CVE-2026-21717?
How do I fix CVE-2026-21717?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-21711A flaw in Node.js Permission Model network enforcement leave…5.3
- CVE-2026-21712A flaw in Node.js URL processing causes an assertion failure…6.5
- CVE-2026-21713A flaw in Node.js HMAC verification uses a non-constant-time…5.9
- CVE-2026-21714A memory leak occurs in Node.js HTTP/2 servers when a client…5.3
- CVE-2026-21715A flaw in Node.js Permission Model filesystem enforcement le…3.3
- CVE-2026-21716An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmo…3.3
- CVE-2026-21718An authentication bypass vulnerability exists in Copeland XW…9.8
- CVE-2026-21719An OS command injection vulnerability exists in CubeCart pri…8.6
- CVE-2026-2172A vulnerability was determined in code-projects Online Appli…9.8
- CVE-2026-21720Every uncached /avatar/:hash request spawns a goroutine that…7.5
- CVE-2026-21721The dashboard permissions API does not verify the target das…8.1
- CVE-2026-21722Public dashboards with annotations enabled did not limit the…5.3
Are you affected by CVE-2026-21717?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
