{"answers":{"affected":"4 open source packages ship an affected version, including joi.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-90771 exists.","fix":"Upgrade joi to a fixed version for your release line: 17.13.8 or 18.2.9.","what":"CVE-2026-90771 is a medium-severity vulnerability in hapijs joi, published on 13 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-90771 and fix it if it is affected.\n\nWhat it is: CVE-2026-90771 is a medium-severity vulnerability in hapijs joi, published on 13 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-90771 exists.\n\nAffected packages and fixed versions:\n- joi (npm): affected all versions; fixed in 17.13.8\n- joi (npm): affected all versions; fixed in 17.13.8\n- joi (npm): affected from 18.0.0; fixed in 18.2.9\n- joi (npm): affected from 18.0.0; fixed in 18.2.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-90771/ (Markdown: https://insights.sbomify.com/CVE-2026-90771/index.md)","id":"CVE-2026-90771","markdown":"https://insights.sbomify.com/CVE-2026-90771/index.md","name":"CVE-2026-90771","record":{"aliases":["CLSA-2026-1791278886","ECHO-9165-070e-db0f","GHSA-wr44-6hxh-3jwq","MINI-23f7-8g3x-x824","MINI-39p2-26qq-wxrr","MINI-4x3x-vj9j-pqg6","MINI-5885-6m83-pq96","MINI-9922-pfv6-w8wg","MINI-99cv-396w-3hpr","MINI-cr69-mr98-wr8x","MINI-ggfm-qcq9-v9fj","MINI-jvg9-rc92-w24h","MINI-pqj5-4938-224w","MINI-q58c-m677-f725","MINI-vp25-rxgh-f7px","MINI-w82x-2m73-qj88","MINI-wp4g-92jx-jgp8","MINI-wq37-qw6h-9x8h","MINI-x748-6f8g-whfc","RHSA-2026:67610"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript validation library","requires_auth":"none","summary":"Attackers can pollute the prototype via custom error messages in joi, potentially leading to code execution or application crashes.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"joi before versions 17.13.8 and 18.2.9 contains a prototype pollution vulnerability in the messages compilation function that accepts __proto__ as an error code. Attackers can supply __proto__ keys in custom messages to replace the returned object's prototype, breaking downstream code relying on Object.prototype methods.","ecosystems":["Red Hat:hummingbird:1","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"joi before 17.13.8 and 18.2.9 Prototype Pollution via messages","id":"CVE-2026-90771","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2026"},"n_packages":5,"n_references":5,"next":{"headline":"Amundsen Frontend through 4.3.0 Stored XSS via Description","id":"CVE-2026-90772"},"packages":[{"ecosystem":"npm","fixed":["17.13.8"],"introduced":["0"],"last_affected":[],"package":"joi","purl":null,"source":"GHSA-wr44-6hxh-3jwq"},{"ecosystem":"npm","fixed":["17.13.8"],"introduced":["0"],"last_affected":[],"package":"joi","purl":"pkg:npm/joi","source":"GHSA-wr44-6hxh-3jwq"},{"ecosystem":"npm","fixed":["18.2.9"],"introduced":["18.0.0"],"last_affected":[],"package":"joi","purl":null,"source":"GHSA-wr44-6hxh-3jwq"},{"ecosystem":"npm","fixed":["18.2.9"],"introduced":["18.0.0"],"last_affected":[],"package":"joi","purl":"pkg:npm/joi","source":"GHSA-wr44-6hxh-3jwq"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:12.4.10-0.3.hum1"],"introduced":["0"],"last_affected":[],"package":"grafana12.4","purl":"pkg:rpm/redhat/grafana12.4","source":"RHSA-2026:67610"}],"prev":{"headline":"Spug through 3.4.0 Remote Code Execution via ping_check","id":"CVE-2026-90770"},"products":["joi"],"published":"2026-09-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["hapijs"]},"summary":"Attackers can pollute the prototype via custom error messages in joi, potentially leading to code execution or application crashes.","url":"https://insights.sbomify.com/CVE-2026-90771/"}