CVE-2026-49356

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:babel:babel:*:*:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha0:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha10:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha11:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha12:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha13:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha14:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha15:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha16:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha17:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha2:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha3:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha4:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha5:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha6:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha7:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha8:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:alpha9:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:beta0:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:beta3:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:beta4:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:rc4:*:*:*:*:*:*
cpe:2.3:a:babel:babel:8.0.0:rc5:*:*:*:*:*:*

History

No history.

Information

Published : 2026-06-22 18:16

Updated : 2026-06-26 20:04


NVD link : CVE-2026-49356

Mitre link : CVE-2026-49356

CVE.ORG link : CVE-2026-49356


JSON object : View

Products Affected

babel

  • babel
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor