{"answers":{"affected":"6 open source packages ship an affected version, including fast-uri. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-16221 in the wild and no public exploit code.","fix":"Upgrade fast-uri to a fixed version for your release line: 2.4.3, 3.1.4 or 4.1.1.","what":"CVE-2026-16221 is a high-severity server-side request forgery vulnerability in fast-uri, published on 19 Jul 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-16221 and fix it if it is affected.\n\nWhat it is: CVE-2026-16221 is a high-severity server-side request forgery vulnerability in fast-uri, published on 19 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-16221 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- fast-uri (npm): affected from 2.3.1; fixed in 2.4.3\n- fast-uri (npm): affected from 2.3.1; fixed in 2.4.3\n- fast-uri (npm): affected from 3.0.0; fixed in 3.1.4\n- fast-uri (npm): affected from 3.0.0; fixed in 3.1.4\n- fast-uri (npm): affected from 4.0.0; fixed in 4.1.1\n- fast-uri (npm): affected from 4.0.0; fixed in 4.1.1\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-16221/ (Markdown: https://insights.sbomify.com/CVE-2026-16221/index.md)","id":"CVE-2026-16221","markdown":"https://insights.sbomify.com/CVE-2026-16221/index.md","name":"CVE-2026-16221","record":{"aliases":["CLEANSTART-2026-BN07667","CLEANSTART-2026-WA26037","CLSA-2026-1784769538","CLSA-2026-1790893546","CLSA-2026-1791370091","DEBIAN-CVE-2026-16221","ECHO-ff87-a65e-4352","GHSA-v2hh-gcrm-f6hx","MINI-246w-649x-jv9w","MINI-2f95-q3w5-jg24","MINI-342m-gm5m-23q8","MINI-3rjg-2w9q-72p4","MINI-4956-6h84-gxfg","MINI-4xvj-rxf5-p7wp","MINI-5c87-cp8c-498v","MINI-5gjr-ghv8-f6rm","MINI-5mjm-w5rf-p6vj","MINI-5v9p-jfpc-qx25","MINI-6ww3-56gj-f783","MINI-7cfm-gf8j-fvpg","MINI-7hc2-w3h5-4vx2","MINI-7qm3-9xc7-wjm6","MINI-7v8f-5mvp-5g8j","MINI-829j-c4q9-wr65","MINI-8qqf-2q9m-rpj6","MINI-9fmv-vwcm-8368","MINI-f3v2-28q9-67xf","MINI-f89r-fm82-hcvw","MINI-hh8c-9vwc-pf2m","MINI-jfgf-cc4f-3vg9","MINI-jg8r-3m33-7qjv","MINI-jj7f-r37g-2vqw","MINI-jmw7-j7fw-3w6m","MINI-m78g-grx4-c495","MINI-m7fj-9299-w9x4","MINI-m7hm-g59h-945j","MINI-p794-9294-rgq5","MINI-pmwg-44vg-7q7v","MINI-pr3h-8r8j-h5gf","MINI-q82h-98c9-5jx2","MINI-rcxp-rmf3-xpp3","MINI-rrx6-xgpj-grhj","MINI-vmmr-x9wq-8hx7","MINI-vq95-37gv-jq62","MINI-x2m5-9cvp-rvc6","ROOT-APP-NPM-CVE-2026-16221","UBUNTU-CVE-2026-16221"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js URI parsing library","requires_auth":"none","summary":"Attackers can bypass host-based security controls in fast-uri by using backslashes, potentially enabling SSRF attacks against internal services or cloud metadata endpoints.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"fast-uri","vendor":"openjsf"}],"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:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"description":"Impact: fast-uri versions from 2.3.1 through 4.1.0 (including the 3.x line up to 3.1.3 and the 2.x line up to 2.4.2) do not treat a literal backslash character (U+005C) as an authority delimiter. Node's native WHATWG URL parser, used by fetch, undici, and Node's http and https clients, normalizes the backslash to a forward slash for special schemes such as http, https, ws, wss, ftp, and file. As a result, the two parsers extract different hosts from the same input string. Applications that use fast-uri to enforce host-based policy such as allowlists, denylists, loopback or SSRF filtering, redirect validation, or outbound proxy routing before passing the same URL into Node's URL or fetch consumers can be steered to an unintended destination, including cloud metadata endpoints, loopback, or internal hosts. \n\nPatches: upgrade to fast-uri 4.1.1, 3.1.4, or 2.4.3.\n\nWorkarounds: none.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"fast-uri vulnerable to host confusion via literal backslash authority delimiter","id":"CVE-2026-16221","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":6,"n_references":2,"next":{"headline":"1Panel-dev CordysCRM Third Party Endpoint TokenService.java server-side request forgery","id":"CVE-2026-16222"},"packages":[{"ecosystem":"npm","fixed":["2.4.3"],"introduced":["2.3.1"],"last_affected":[],"package":"fast-uri","purl":null,"source":"GHSA-v2hh-gcrm-f6hx"},{"ecosystem":"npm","fixed":["2.4.3"],"introduced":["2.3.1"],"last_affected":[],"package":"fast-uri","purl":"pkg:npm/fast-uri","source":"GHSA-v2hh-gcrm-f6hx"},{"ecosystem":"npm","fixed":["3.1.4"],"introduced":["3.0.0"],"last_affected":[],"package":"fast-uri","purl":null,"source":"GHSA-v2hh-gcrm-f6hx"},{"ecosystem":"npm","fixed":["3.1.4"],"introduced":["3.0.0"],"last_affected":[],"package":"fast-uri","purl":"pkg:npm/fast-uri","source":"GHSA-v2hh-gcrm-f6hx"},{"ecosystem":"npm","fixed":["4.1.1"],"introduced":["4.0.0"],"last_affected":[],"package":"fast-uri","purl":null,"source":"GHSA-v2hh-gcrm-f6hx"},{"ecosystem":"npm","fixed":["4.1.1"],"introduced":["4.0.0"],"last_affected":[],"package":"fast-uri","purl":"pkg:npm/fast-uri","source":"GHSA-v2hh-gcrm-f6hx"}],"prev":{"headline":"code-projects Online Examination System account.php cross site scripting","id":"CVE-2026-16220"},"products":["fast-uri"],"published":"2026-07-19","related":[{"cvss_score":7.5,"headline":"fast-uri vulnerable to authority injection via an unvalidated port in serialize","id":"CVE-2026-84292","kev_date_added":null,"published":"2026-09-02"},{"cvss_score":7.5,"headline":"fast-uri vulnerable to host confusion via an unclosed bracket in the URI authority","id":"CVE-2026-84394","kev_date_added":null,"published":"2026-09-02"},{"cvss_score":7.5,"headline":"fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding","id":"CVE-2026-75899","kev_date_added":null,"published":"2026-08-24"},{"cvss_score":7.5,"headline":"fast-uri vulnerable to host confusion via skipped IDN canonicalization on scheme-relative references","id":"CVE-2026-75931","kev_date_added":null,"published":"2026-08-24"},{"cvss_score":7.5,"headline":"fast-uri vulnerable to server-side request forgery via malformed IPv6 normalization","id":"CVE-2026-75975","kev_date_added":null,"published":"2026-08-24"},{"cvss_score":7.5,"headline":"fast-uri vulnerable to host confusion via percent-encoded scheme normalization","id":"CVE-2026-76172","kev_date_added":null,"published":"2026-08-24"},{"cvss_score":7.5,"headline":"fast-uri vulnerable to host confusion via backslash authority introducer","id":"CVE-2026-18446","kev_date_added":null,"published":"2026-07-31"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["fast-uri"]},"summary":"Attackers can bypass host-based security controls in fast-uri by using backslashes, potentially enabling SSRF attacks against internal services or cloud metadata endpoints.","url":"https://insights.sbomify.com/CVE-2026-16221/"}