CVE-2026-118772
Last modified
CVE-2026-118772 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. joi is a schema description language and data validator for JavaScript. From 17.1.1 until 17.13.9 and 18.3.1, the Joi.string().email({ multiple: true }) rule uses a separator regular expression whose leading whitespace quantifier is retried at every position in a long whitespace run that contains no separator, causing quadratic work during String.prototype.split. EPSS estimates a 0.47% chance of exploitation in the next 30 days.
Description
joi is a schema description language and data validator for JavaScript. From 17.1.1 until 17.13.9 and 18.3.1, the Joi.string().email({ multiple: true }) rule uses a separator regular expression whose leading whitespace quantifier is retried at every position in a long whitespace run that contains no separator, causing quadratic work during String.prototype.split. The behavior applies to the default separator and every custom separator. Applications that validate attacker-controlled values with the multiple option and no effective prior length limit can have the Node.js event loop blocked for seconds by one request, preventing other work. A .max() rule is not sufficient when abortEarly: false allows the email rule to run after the maximum-length check fails. This vulnerability is fixed in versions 17.13.9 and 18.3.1.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hapijs | joi | >= 16.0.0, <= 17.1.1; >= 18.0.0, < 18.3.1 |
| @hapi | joi | >= 16.0.0, <= 17.1.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-118772?
How severe is CVE-2026-118772?
How do I fix CVE-2026-118772?
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-118765Botan is a C++ cryptography library. From 3.7.0 until 3.13.0…7.3
- CVE-2026-118766Botan is a C++ cryptography library. Prior to 3.13.0, Botan'…6.1
- CVE-2026-118767Botan is a C++ cryptography library. From 1.11.22 until 3.13…4.8
- CVE-2026-118768Botan is a C++ cryptography library. From 1.11.34 until 3.13…5.9
- CVE-2026-118769Botan is a C++ cryptography library. From 2.1.0 until 3.13.0…9.2
- CVE-2026-11877An unauthorized user can modify configuration through API ca…7.5
- CVE-2026-118773Glob matches files using patterns the shell uses. From 9.0.0…6.3
- CVE-2026-118774Forge (also called node-forge) is a native implementation of…3.7
- CVE-2026-118775Forge (also called node-forge) is a native implementation of…3.7
- CVE-2026-118776Forge (also called node-forge) is a native implementation of…3.7
- CVE-2026-118777Forge (also called node-forge) is a native implementation of…4.8
- CVE-2026-118778Forge (also called node-forge) is a native implementation of…5.9
Are you affected by CVE-2026-118772?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
