Home / babel / babel / CVE-2026-49356
CVE-2026-49356: is it exploited, and which versions of babel are affected and fixed?
CVE-2026-49356 is a path traversal (reading or writing files outside the intended folder) vulnerability in babel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: @babel/core from 8.0.0-alpha.0 before 8.0.0-rc.6 and @babel/core before 7.29.6 (GitHub advisory GHSA-4x5r-pxfx-6jf8). Fixed in 8.0.0-rc.6 and 7.29.6 (GitHub advisory GHSA-4x5r-pxfx-6jf8). Severity: Low (3.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-49356?
Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core
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.
From the CVE record by GitHub_M, last updated June 22, 2026, 17:23 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| babel | babel | >= 8.0.0-alpha.0, < 8.0.0-rc.5 < 7.29.6 |
As the CVE record by GitHub_M states it, last updated June 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @babel/core | >= 8.0.0-alpha.0, < 8.0.0-rc.6 | 8.0.0-rc.6 | GHSA-4x5r-pxfx-6jf8 |
| npm | @babel/core | < 7.29.6 | 7.29.6 | GHSA-4x5r-pxfx-6jf8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 15, 2026. Summary: @babel/core: Arbitrary File Read via sourceMappingURL Comment.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| babel | babel | before 7.29.6 | application |
| babel | babel | 8.0.0 | application |
NVD analysis (status Analyzed), last modified June 26, 2026, 20:04 UTC.
How severe is CVE-2026-49356?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N | GitHub_M |
| Low 3.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-49356 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 22, 2026)
- EPSS
- 0.16% probability of exploitation activity in the next 30 days, percentile 5.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/babel/babel/security/advisories/GHSA-4x5r-pxfx-6jf8 x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 29, 2026
- Published
- June 22, 2026, 16:07 UTC
- CVE record updated
- June 22, 2026, 17:23 UTC by GitHub_M
- NVD
- Analyzed, last modified June 26, 2026, 20:04 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect babel?
- May 26, 2026CVE-2026-44728 babel: code injection (remote code execution)
- Mar 11, 2025CVE-2025-27789 babel: regular expression denial of service (ReDoS)
- Oct 12, 2023CVE-2023-45133 babel: incomplete List of Disallowed Inputs
Questions about CVE-2026-49356
Is CVE-2026-49356 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of babel are affected by CVE-2026-49356?
@babel/core from 8.0.0-alpha.0 before 8.0.0-rc.6 and @babel/core before 7.29.6, per the GitHub advisory GHSA-4x5r-pxfx-6jf8. The tables above give every range the sources list.
Which version fixes CVE-2026-49356?
8.0.0-rc.6 and 7.29.6, per the GitHub advisory GHSA-4x5r-pxfx-6jf8. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-49356?
Low (3.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-49356?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.