CVE-2026-122131

Source
https://cve.org/CVERecord?id=CVE-2026-122131
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122131.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-122131
Aliases
Downstream
CLSA (3)
Published
2026-11-04T20:36:51Z
Modified
2026-11-14T02:30:32Z
Severity
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 Prototype Replacement via __proto__ Language Key
Details

Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 contains a prototype pollution vulnerability in lib/messages.js compile() and merge() that fails to reject a proto language key. Attackers supplying untrusted message configuration via any().messages(), prefs, validate options or Joi.extend can replace the compiled messages prototype, altering or breaking validation error rendering and dependent logic.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-1321"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122131.json"
}
References

Affected packages

Git / github.com/hapijs/joi

Affected ranges

Type
GIT
Repo
https://github.com/hapijs/joi
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "17.13.6"
                },
                {
                    "fixed":  "17.13.9"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "18.2.5"
                },
                {
                    "fixed":  "18.3.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "76f5771e1afe527cfda24be0e1a920ffa54888d6"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "dae9467cec27e787bfdea8b276595177d52d28ec"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v17.*
v17.13.6
v17.13.7
v17.13.8
v18.*
v18.2.5
v18.2.6
v18.2.7
v18.2.8
v18.2.9
v18.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122131.json"