CVE-2026-84368
Last modified
CVE-2026-84368 is a low-severity vulnerability rated 3.7/10 on the CVSS scale. joi is a schema description language and data validator for JavaScript. From 16.0.0 until 17.13.6 and 18.2.5, the @hapi/joi package through 17.1.1 and the successor joi package contain prototype pollution in lib/messages.js, where exports.compile() and exports.merge() reuse inherited objects for attacker-controlled language keys supplied through messages(), message(), prefs({ messages }), Joi.extend({ messages }), or rule({ message }).
Description
joi is a schema description language and data validator for JavaScript. From 16.0.0 until 17.13.6 and 18.2.5, the @hapi/joi package through 17.1.1 and the successor joi package contain prototype pollution in lib/messages.js, where exports.compile() and exports.merge() reuse inherited objects for attacker-controlled language keys supplied through messages(), message(), prefs({ messages }), Joi.extend({ messages }), or rule({ message }). A language key named __proto__ writes properties onto Object.prototype, and constructor writes to the Object function's static properties. A consuming application that gates on the presence of an inherited property can take the wrong branch for every inspected object. The flaw is not reachable from data that joi validates and requires an application to feed untrusted input directly into schema-construction configuration. This issue is fixed in joi versions 17.13.6 and 18.2.5; no fixed @hapi/joi version is available.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| hapijs | joi | >= 16.0.0, <= 17.1.1; >= 17.2.0, < 17.13.6; >= 18.0.0, < 18.2.5 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-84368?
How severe is CVE-2026-84368?
How do I fix CVE-2026-84368?
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-84361Composer is a dependency Manager for the PHP language. From …7.7
- CVE-2026-84363Hono is a Web application framework that provides support fo…5.9
- CVE-2026-84364Hono is a Web application framework that provides support fo…5.3
- CVE-2026-84365Hono is a Web application framework that provides support fo…6.5
- CVE-2026-84366Scrapy is a high-level web crawling and scraping framework f…7.4
- CVE-2026-84367joi is a schema description language and data validator for …3.7
- CVE-2026-84369SVGO, short for SVG Optimizer, is a Node.js library and comm…6.1
- CVE-2026-84370SVGO, short for SVG Optimizer, is a Node.js library and comm…8.2
- CVE-2026-84371ApostropheCMS is an open-source Node.js content management s…5.4
- CVE-2026-8438The All-In-One Security (AIOS) – Security and Firewall plugi…7.2
- CVE-2026-8441The WP Review Slider Pro plugin for WordPress is vulnerable …7.5
- CVE-2026-8442The WP Review Slider Pro plugin for WordPress is vulnerable …8.1
Are you affected by CVE-2026-84368?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
