{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-118772 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-118772 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-118772 is a high-severity vulnerability in @hapi joi, published on 29 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-118772 and fix it if it is affected.\n\nWhat it is: CVE-2026-118772 is a high-severity vulnerability in @hapi joi, published on 29 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-118772 in the wild and no public exploit code.\n\nAffected product: @hapi joi. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-118772/ (Markdown: https://insights.sbomify.com/CVE-2026-118772/index.md)","id":"CVE-2026-118772","markdown":"https://insights.sbomify.com/CVE-2026-118772/index.md","name":"CVE-2026-118772","record":{"aliases":["GHSA-4528-x5fx-h6hg"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"joi: quadratic-time split in `string().email({ multiple: true })` allows denial of service","id":"CVE-2026-118772","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":7,"next":{"headline":"Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal","id":"CVE-2026-118773"},"packages":[],"prev":{"headline":"Botan: Integer overflow when reporting block size in FFI can cause memory corruption","id":"CVE-2026-118769"},"products":["joi"],"published":"2026-10-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-29","vendors":["@hapi","hapijs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-118772/"}