# CVE-2026-49356: Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core

- Severity: Low 3.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-06-15T17:14:14.000Z
- Modified: 2026-09-10T03:50:48.280Z
- Also known as: GHSA-4x5r-pxfx-6jf8
- Weaknesses: CWE-22, CWE-200
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- babel babel: >= 8.0.0-alpha.0, < 8.0.0-rc.5; < 7.29.6; before 7.29.6; 8.0.0
- @babel/core (npm): from 8.0.0-alpha.0 before 8.0.0-rc.6; before 7.29.6

## Every score

- GitHub_M: CVSS:3.1 3.2 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.2 Low `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 3.6 Low `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N`

## References

- <https://github.com/babel/babel/security/advisories/GHSA-4x5r-pxfx-6jf8> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49356> (advisory)
- <https://babeljs.io/docs/options#inputsourcemap> (web)
- <https://github.com/babel/babel> (package)

## Sources

- CVE List: [CVE-2026-49356](https://www.cve.org/CVERecord?id=CVE-2026-49356), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-4x5r-pxfx-6jf8](https://github.com/advisories/GHSA-4x5r-pxfx-6jf8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-49356](https://nvd.nist.gov/vuln/detail/CVE-2026-49356), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-49356 · Whole record: https://cve.day/CVE-2026-49356.json · Rebuilt by cve.day 2026-11-25T22:59:25.383Z
