Bug 2587656 (CVE-2026-140098)

Summary: CVE-2026-140098 vite: Vite: Information disclosure via access control bypass in development server
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ansingla, anujha, aruklets, aschwart, asoldano, aszczucz, bbaranow, blitton, bmaxwell, boliveir, bstansbe, cdrage, chfoley, csuconic, dbruscin, dhanak, dlofthou, doconnor, drichtar, drosa, dsimansk, eborisov, gtully, istudens, ivassile, iweiss, jbaesner, jkrystof, jlanda, jmitchel, jsherman, jturenov, kaycoth, kingland, kshier, kvanderr, lball, mnovotny, mosmerov, mposolda, msvehla, ngough, nwallace, pberan, pesilva, pjindal, pmackay, rbobbitt, rgemmell, rgodfrey, rmartinc, rstancel, rushinde, sausingh, sdawley, shudeshp, simaishi, ssilvert, stcannon, sthorger, swoodman, tbish, tguha, thjenkin, tlavocat, tzimanyi, vdosoudi, veshanka, vmuzikar, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Vite. An unauthenticated remote attacker can exploit an access control bypass in the development server by sending specially crafted import requests. This allows the attacker to access arbitrary files on the host system outside designated allowed directories, leading to information disclosure.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-30 22:41:37 UTC
Vite is a frontend tooling framework for JavaScript. In 8.4.0-beta.1, a network-exposed development server can register a request-chosen file outside server.fs.allow in config.environments.client.safeModulePaths when processing ?worker&import or ?sharedworker&import, while ?wasm, ?init&import, and ?source&import can register request-chosen .wasm files through the same mechanism. An unauthenticated attacker can first request an outside path with one of the applicable queries and then request the same path normally, causing the safe-path check to bypass server.fs.allow and disclose the file unless server.fs.deny matches it. This issue is fixed in 8.4.0-beta.2.