Live threats

All CVEs / Babel

CVE-2026-49356Babel

Low 3.6

Priority
22
CVSS 3.1
3.6
EPSS
—
Auth required
Yes
Published
Jun 22, 2026
Updated
Jun 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-200
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Babel.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @babel/core ≥ 8.0.0-alpha.0 < 8.0.0-rc.6 8.0.0-rc.6 npm install @babel/core@8.0.0-rc.6
npm @babel/core < 7.29.6 7.29.6 npm install @babel/core@7.29.6

Per OSV / GitHub Advisories (GHSA-4x5r-pxfx-6jf8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
babelbabel< 7.29.6
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0
babelbabel8.0.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.