CVE-2026-49356

Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core

LOW
3.6
CVSS Score
Published: June 22, 2026 at 04:07 PM UTC
Updated: June 27, 2026 at 11:42 AM UTC
1 product affected across 1 vendorBabel

Using babel by babel?

Get instant alerts when new vulnerabilities affect babel - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.6
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMMitigationVendor Advisory
Source: cverecord
https://github.com/babel/babel/security/advisories/GHSA-4x5r-pxfx-6jf8

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22CWE-200

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card