CVE Explore

Path Traversal in Babel

CVE-2026-49356

CVSS v3
3.2 Low
Public exploits
None known
EPSS
0.002 · 4.4th percentile
Published
2026-06-22

What to do

Fixed in
7.29.6
Affected
1 affected product

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 3.2 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N.

Attack Vector
Local AV:L
Attack Complexity
High AC:H
Privileges Required
None PR:N
User Interaction
None UI:N
Scope
Changed S:C
Confidentiality
Low C:L
Integrity
None I:N
Availability
None A:N

EPSS exploit prediction

EPSS 0.002, 4.4th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Babel — versions < 7.29.6, 8.0.0, >= 8.0.0-alpha.0, < 8.0.0-rc.5

Weakness classification (CWE)

References