{"id":"CVE-2026-49356","published":"2026-06-22T16:07:01Z","modified":"2026-06-22T17:23:03Z","title":"Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core","vendor":"babel","product":"babel","tier":"tail","description":{"text":"Babel is a compiler for writing next generation JavaScript. Prior to 8.0.0-rc.6 and 7.29.6, @babel/core affected by an arbitrary file read via a sourceMappingURL comment. Using @babel/core to compile maliciously crafted code can allow an attacker to read any source map from the system that is running Babel, if the attacker controls the input source code, can read the output source code, and knows the path of the source map file that they want to read. This vulnerability is fixed in 8.0.0-rc.6 and 7.29.6.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00152,"percentile":0.04398,"provenance":"source"},"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"}],"references":[{"url":"https://github.com/babel/babel/security/advisories/GHSA-4x5r-pxfx-6jf8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":3.1,"factors":[{"name":"EPSS percentile","points":0.88},{"name":"CVSS severity","points":2.24}]},"vendorSlug":"babel","affectedVersions":[{"vendor":"babel","product":"babel","versions":[">= 8.0.0-alpha.0, < 8.0.0-rc.5","< 7.29.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T17:22:57.466209Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@babel/core","vulnerableRanges":[">=8.0.0-alpha.0, <8.0.0-rc.6","<7.29.6"],"patched":["8.0.0-rc.6","7.29.6"],"from":["GHSA-4x5r-pxfx-6jf8"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in the sourceMappingURL handling of @babel/core, the core compiler package of the Babel JavaScript toolchain, lets Babel read arbitrary source map files from the host system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:23:18Z"},"euvd":{"id":"EUVD-2026-38302","exploited":false,"provenance":"source"}}