CVE-2026-49356: Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core
Vulnerability summary
CVE-2026-49356 is a low (CVSS 3.6) vulnerability in babel. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.3% of scored vulnerabilities.
Not severe (CVSS 3.2, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 4Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 22-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA3.2LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated3.6LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.6LowCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated3.2LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:NDiffers
- OSV · NpmEcosystem advisory · calculated3.2LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated3.2LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.15% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-200Exposure of Sensitive Information to an Unauthorized ActorThe product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Affected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard75 products
- airflow-2All versions (No fix recorded)
- airflow-3< 3.2.2-r8
- airflow-core-2All versions (No fix recorded)
- arangodb-3.11< 3.11.14.5-r31
- arangodb-3.12< 3.12.11-r0
Wolfi22 products
- airflow-3< 3.2.2-r8
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compat< 0.19.0-r40
- katib-suggestion-hyperband< 0.19.0-r31
- katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
@babel1 product
- core≥ 8.0.0-alpha.0, < 8.0.0-rc.6 | < 7.29.6
Babel1 product
- babel≥ 8.0.0-alpha.0, < 8.0.0-rc.5 | < 7.29.6 | 8.0.0:alpha0 | 8.0.0:alpha1 | 8.0.0:alpha10 | 8.0.0:alpha11 | 8.0.0:alpha12 | 8.0.0:alpha13 | 8.0.0:alpha14 | 8.0.0:alpha15 | 8.0.0:alpha16 | 8.0.0:alpha17 | 8.0.0:alpha2 | 8.0.0:alpha3 | 8.0.0:alpha4 | 8.0.0:alpha5 | 8.0.0:alpha6 | 8.0.0:alpha7 | 8.0.0:alpha8 | 8.0.0:alpha9 | 8.0.0:beta0 | 8.0.0:beta1 | 8.0.0:beta2 | 8.0.0:beta3 | 8.0.0:beta4 | 8.0.0:rc1 | 8.0.0:rc2 | 8.0.0:rc3 | 8.0.0:rc4 | 8.0.0:rc5
Debian1 product
- node-babel7All versions (No fix recorded) | < 8.0.4+ds1+~cs177.303.116-2
Ubuntu1 product
- babelAll versions (No fix recorded)
6 vendors · 101 products
References
8 links- github.com/babel/babel/security/advisories/GHSA-4x5r-pxfx-6jf8X Refsource CONFIRMAdvisoryWEBMitigationVendor Advisory
- github.com/babel/babelPACKAGE