{"answers":{"affected":"4 open source packages ship an affected version, including fast-uri. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-6321 in the wild and no public exploit code.","fix":"Upgrade fast-uri to a fixed version for your release line: 2.4.1 or 3.1.1.","what":"CVE-2026-6321 is a high-severity path traversal vulnerability in fast-uri, published on 4 May 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-6321 and fix it if it is affected.\n\nWhat it is: CVE-2026-6321 is a high-severity path traversal vulnerability in fast-uri, published on 4 May 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-6321 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- fast-uri (npm): affected all versions; fixed in 2.4.1\n- fast-uri (npm): affected all versions; fixed in 2.4.1\n- fast-uri (npm): affected from 3.0.0; fixed in 3.1.1\n- fast-uri (npm): affected from 3.0.0; fixed in 3.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-6321/ (Markdown: https://insights.sbomify.com/CVE-2026-6321/index.md)","id":"CVE-2026-6321","markdown":"https://insights.sbomify.com/CVE-2026-6321/index.md","name":"CVE-2026-6321","record":{"aliases":["CLEANSTART-2026-RD64552","CLEANSTART-2026-UQ15244","CLSA-2026-1784596352","CLSA-2026-1790854665","DEBIAN-CVE-2026-6321","ECHO-d17c-0010-d1d4","GHSA-q3j6-qgpj-74h6","MINI-24vq-hhvw-x7gp","MINI-2559-95hr-c3wg","MINI-29xw-9782-pc26","MINI-32hr-r657-m49q","MINI-343j-2w6h-763v","MINI-397f-9x7m-rx3r","MINI-46ph-8f96-22wx","MINI-5w75-56x2-grj2","MINI-6mrj-xvjx-pj5c","MINI-799x-xg6w-vvjg","MINI-7v74-6m7h-3h89","MINI-c2q8-pcrx-vcxh","MINI-crq7-rw96-pf6c","MINI-cvmh-mhf7-29c6","MINI-fp7c-9852-9mqf","MINI-frxj-c2m6-4frf","MINI-gwv9-vvw8-r568","MINI-hmgx-7xcg-vq88","MINI-hwxv-wrh3-pc5h","MINI-hxvc-39vm-3cv6","MINI-jmc5-qqv2-wh47","MINI-m85f-2x94-35p7","MINI-pgv4-gcxp-g7m5","MINI-r8w2-vj3j-pjch","MINI-rcc4-gfpp-phxc","MINI-rxpw-rwrp-75qm","MINI-wccx-qg9h-663j","MINI-wgv2-jxpc-x9pc","MINI-whw9-8p7x-j675","MINI-x7pr-qx6c-jm2p","ROOT-APP-NPM-CVE-2026-6321","UBUNTU-CVE-2026-6321","openSUSE-SU-2026:10750-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript URI library","requires_auth":"none","summary":"Attackers can bypass path-based security policies in applications using fast-uri by exploiting improper normalization of percent-encoded dot segments.","user_interaction":"not_required","vuln_class":"path_traversal"},"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-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"fast-uri decoded percent-encoded path separators and dot segments before applying dot-segment removal in its normalize() and equal() functions. Encoded path data was treated like real slashes and parent-directory references, so distinct URIs could collapse onto the same normalized path. Applications that normalize or compare attacker-controlled URLs to enforce path-based policy can be bypassed, with a path that appears confined under an allowed prefix normalizing to a different location. Versions \u003c= 3.1.0 are affected. Update to 3.1.1 or later.","ecosystems":["npm","openSUSE:Tumbleweed"],"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 path traversal via percent-encoded dot segments","id":"CVE-2026-6321","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":5,"n_references":2,"next":{"headline":"fast-uri vulnerable to host confusion via percent-encoded authority delimiters","id":"CVE-2026-6322"},"packages":[{"ecosystem":"npm","fixed":["2.4.1"],"introduced":["0"],"last_affected":[],"package":"fast-uri","purl":null,"source":"GHSA-q3j6-qgpj-74h6"},{"ecosystem":"npm","fixed":["2.4.1"],"introduced":["0"],"last_affected":[],"package":"fast-uri","purl":"pkg:npm/fast-uri","source":"GHSA-q3j6-qgpj-74h6"},{"ecosystem":"npm","fixed":["3.1.1"],"introduced":["3.0.0"],"last_affected":[],"package":"fast-uri","purl":null,"source":"GHSA-q3j6-qgpj-74h6"},{"ecosystem":"npm","fixed":["3.1.1"],"introduced":["3.0.0"],"last_affected":[],"package":"fast-uri","purl":"pkg:npm/fast-uri","source":"GHSA-q3j6-qgpj-74h6"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.17.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-pydata-sphinx-theme","purl":"pkg:rpm/opensuse/python-pydata-sphinx-theme\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10750-1"}],"prev":{"headline":"Path traversal in Salon Booking System – Free Version","id":"CVE-2026-6320"},"products":["fast-uri"],"published":"2026-05-04","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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-09-10","vendors":["fast-uri"]},"summary":"Attackers can bypass path-based security policies in applications using fast-uri by exploiting improper normalization of percent-encoded dot segments.","url":"https://insights.sbomify.com/CVE-2026-6321/"}