{"answers":{"affected":"8 open source packages ship an affected version, including vite and vite-plus. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-53571 exists.","fix":"Upgrade vite to a fixed version for your release line: 6.4.3, 7.3.5 or 8.0.16.","what":"CVE-2026-53571 is a high-severity path traversal vulnerability in vitejs vite, published on 22 Jun 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-53571 and fix it if it is affected.\n\nWhat it is: CVE-2026-53571 is a high-severity path traversal vulnerability in vitejs vite, published on 22 Jun 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-53571 exists.\n\nAffected packages and fixed versions:\n- vite (npm): affected all versions; fixed in 6.4.3\n- vite (npm): affected all versions; fixed in 6.4.3\n- vite (npm): affected from 7.0.0; fixed in 7.3.5\n- vite (npm): affected from 7.0.0; fixed in 7.3.5\n- vite (npm): affected from 8.0.0; fixed in 8.0.16\n- vite (npm): affected from 8.0.0; fixed in 8.0.16\n- vite-plus (npm): affected all versions; fixed in 0.1.24\n- vite-plus (npm): affected all versions; fixed in 0.1.24\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-53571/ (Markdown: https://insights.sbomify.com/CVE-2026-53571/index.md)","id":"CVE-2026-53571","markdown":"https://insights.sbomify.com/CVE-2026-53571/index.md","name":"CVE-2026-53571","record":{"aliases":["CLEANSTART-2026-TV89664","CLSA-2026-1784423356","CLSA-2026-1787839491","CLSA-2026-1788814439","CLSA-2026-1792225954","GHSA-fx2h-pf6j-xcff","MINI-2f7m-r4qj-fmg2","MINI-3fvf-x4rf-q2pp","MINI-c448-ph76-h58m","MINI-gv8w-4q6h-m8rm","MINI-h53v-cvgc-4ffm","MINI-j3qf-xxjh-q5w8","MINI-j6gp-rjgf-3cmm","MINI-mcgp-fhc6-qj88","MINI-wxj2-w86m-7834","ROOT-APP-NPM-CVE-2026-53571"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Vite dev server","requires_auth":"none","summary":"Attackers can bypass file access restrictions on Windows to read sensitive files like .env via NTFS alternate data streams or short names.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vite","vendor":"vitejs"},{"product":"vite\\+","vendor":"voidzero"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Vite is a frontend tooling framework for JavaScript. Prior to 8.0.16, 7.3.5, and 6.4.3, the contents of files that are specified by server.fs.deny can be returned to the browser on Windows. Vite’s dev server denies direct access to sensitive files through server.fs.deny, including entries such as .env, .env.*, and *.{crt,pem}. However, on Windows, the deny logic does not correctly normalize NTFS ADS path forms before access checks are applied. Because of this, requests such as /.env::$DATA?raw are treated as allowed paths, while Windows resolves them to the original file's default data stream. Similar to that, Windows allows accessing a file using a different name with the 8.3 short name compatibility feature. Vite did not reject accessing files via them. This vulnerability is fixed in 8.0.16, 7.3.5, and 6.4.3.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-07-09","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-07-09T02:02:52Z","kind":"github_poc","ref":"https://github.com/TazmiDev/CVE-2026-53571","stars":1,"title":"CVE-2026-53571 `server.fs.deny` bypass on Windows alternate paths PoC."}],"tier":"weaponised"},"has_fix":true,"headline":"Vite: `server.fs.deny` bypass on Windows alternate paths","id":"CVE-2026-53571","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":8,"n_references":1,"next":{"headline":"KEDA: PostgreSQL connection string parameter injection via incomplete whitespace escaping","id":"CVE-2026-53572"},"packages":[{"ecosystem":"npm","fixed":["6.4.3"],"introduced":["0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-fx2h-pf6j-xcff"},{"ecosystem":"npm","fixed":["6.4.3"],"introduced":["0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-fx2h-pf6j-xcff"},{"ecosystem":"npm","fixed":["7.3.5"],"introduced":["7.0.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-fx2h-pf6j-xcff"},{"ecosystem":"npm","fixed":["7.3.5"],"introduced":["7.0.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-fx2h-pf6j-xcff"},{"ecosystem":"npm","fixed":["8.0.16"],"introduced":["8.0.0"],"last_affected":[],"package":"vite","purl":null,"source":"GHSA-fx2h-pf6j-xcff"},{"ecosystem":"npm","fixed":["8.0.16"],"introduced":["8.0.0"],"last_affected":[],"package":"vite","purl":"pkg:npm/vite","source":"GHSA-fx2h-pf6j-xcff"},{"ecosystem":"npm","fixed":["0.1.24"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":null,"source":"GHSA-fx2h-pf6j-xcff"},{"ecosystem":"npm","fixed":["0.1.24"],"introduced":["0"],"last_affected":[],"package":"vite-plus","purl":"pkg:npm/vite-plus","source":"GHSA-fx2h-pf6j-xcff"}],"prev":{"headline":"Frappe: Missing authorization in toggle_like and mark_as_seen","id":"CVE-2026-53569"},"products":["vite"],"published":"2026-06-22","related":[{"cvss_score":5.3,"headline":"Vite Vitejs Improper Access Control","id":"CVE-2025-31125","kev_date_added":"2026-01-22","published":"2025-03-31"},{"cvss_score":8.2,"headline":"Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket","id":"CVE-2026-39363","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":8.2,"headline":"Vite has a `server.fs.deny` bypass with queries","id":"CVE-2026-39364","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":7.5,"headline":"Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem","id":"CVE-2024-23331","kev_date_added":null,"published":"2024-01-19"},{"cvss_score":7.5,"headline":"Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//)","id":"CVE-2023-34092","kev_date_added":null,"published":"2023-06-01"},{"cvss_score":6.5,"headline":"Vite allows any websites to send any requests to the development server and read the response","id":"CVE-2025-24010","kev_date_added":null,"published":"2025-01-20"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-22","vendors":["vitejs"]},"summary":"Attackers can bypass file access restrictions on Windows to read sensitive files like .env via NTFS alternate data streams or short names.","url":"https://insights.sbomify.com/CVE-2026-53571/"}