SB2026091632 - Path traversal in babel
Published: September 16, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path traversal (CVE-ID: CVE-2026-49356)
CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVSSv4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to read arbitrary source maps from the system running Babel.
The vulnerability exists due to improper limitation of a pathname to a restricted directory in @babel/core's sourceMappingURL comment handling when compiling attacker-controlled source code. A remote attacker can supply crafted source code containing a sourceMappingURL comment to read a source map at a known path.
Exploitation requires the ability to read the compiled output and knowledge of the target source map's path.
Remediation
Install update from vendor's website.