Vulnerability Description
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.
CVSS Score
LOW
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Babel | Babel | < 7.29.6 |
Related Weaknesses (CWE)
References
- https://github.com/babel/babel/security/advisories/GHSA-4x5r-pxfx-6jf8MitigationVendor Advisory
FAQ
What is CVE-2026-49356?
CVE-2026-49356 is a vulnerability with a CVSS score of 3.2 (LOW). 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 ...
How severe is CVE-2026-49356?
CVE-2026-49356 has been rated LOW with a CVSS base score of 3.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-49356?
Check the references section above for vendor advisories and patch information. Affected products include: Babel Babel.