CVE-2026-49356CWE-200CWE-22

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

Low · published June 22, 2026

CVSS v3.1
3.2
EPSS
0%
Percentile
4.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.2 · LOW
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00152 · 4.0th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-06-22T16:07Z
EPSS history
Timeline
  • 22 JUN 16:07Z
    Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core
    cvelistv5