CVE-2026-49356
LOWBabel: Arbitrary File Read via sourceMappingURL Comment in @babel/core
Title source: cnaDescription
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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/babel/babel/security/advisories/GHSA-4x5r-pxfx-6jf8
Scores
CVSS v3
3.2
EPSS
0.0013
EPSS Percentile
2.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-200
CWE-22
Status
published
Products (5)
babel/babel
8.0.0 alpha0 (28 CPE variants)
babel/babel
< 7.29.6 (2 CPE variants)
babel/babel
>= 8.0.0-alpha.0, < 8.0.0-rc.5
babel/core
0 - 7.29.6npm
babel/core
8.0.0-alpha.0 - 8.0.0-rc.6npm
Published
Jun 22, 2026
Tracked Since
Jun 22, 2026