p PatchFirst

CVE-2026-49356

CVE-2026-49356 · Babel: Arbitrary File Read via sourceMappingURL Comment in @babel/core

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 3.2 · Low · EPSS 0.2% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • babel

    Versions
    • >= 8.0.0-alpha.0, < 8.0.0-rc.5: Affected
    • < 7.29.6: Affected

    No fix published

  • node-babel7 Debian:12

    Versions
    • 7.20.15+ds1+~cs214.269.168-10
    • 7.20.15+ds1+~cs214.269.168-11
    • 7.20.15+ds1+~cs214.269.168-12
    • 7.20.15+ds1+~cs214.269.168-13
    • 7.20.15+ds1+~cs214.269.168-14
    • 7.20.15+ds1+~cs214.269.168-15
    • 7.20.15+ds1+~cs214.269.168-16
    • 7.20.15+ds1+~cs214.269.168-17
    • 7.20.15+ds1+~cs214.269.168-18
    • 7.20.15+ds1+~cs214.269.168-3
    • 7.20.15+ds1+~cs214.269.168-3+deb12u1
    • 7.20.15+ds1+~cs214.269.168-3+deb12u2
    • 7.20.15+ds1+~cs214.269.168-4
    • 7.20.15+ds1+~cs214.269.168-5
    • 7.20.15+ds1+~cs214.269.168-6
    • 7.20.15+ds1+~cs214.269.168-7
    • 7.20.15+ds1+~cs214.269.168-8
    • 7.20.15+ds1+~cs214.269.168-9
    • 8.0.4+ds1+~cs177.303.116-1
    • 8.0.4+ds1+~cs177.303.116-2
    • 8.0.4+ds1+~cs177.303.116-3
    • 8.0.6+ds1+~cs177.303.116-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-babel7 Debian:13

    Versions
    • 7.20.15+ds1+~cs214.269.168-10
    • 7.20.15+ds1+~cs214.269.168-11
    • 7.20.15+ds1+~cs214.269.168-12
    • 7.20.15+ds1+~cs214.269.168-13
    • 7.20.15+ds1+~cs214.269.168-14
    • 7.20.15+ds1+~cs214.269.168-15
    • 7.20.15+ds1+~cs214.269.168-16
    • 7.20.15+ds1+~cs214.269.168-17
    • 7.20.15+ds1+~cs214.269.168-18
    • 7.20.15+ds1+~cs214.269.168-8
    • 7.20.15+ds1+~cs214.269.168-9
    • 8.0.4+ds1+~cs177.303.116-1
    • 8.0.4+ds1+~cs177.303.116-2
    • 8.0.4+ds1+~cs177.303.116-3
    • 8.0.6+ds1+~cs177.303.116-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-babel7 Debian:14

    Versions
    • 7.20.15+ds1+~cs214.269.168-10
    • 7.20.15+ds1+~cs214.269.168-11
    • 7.20.15+ds1+~cs214.269.168-12
    • 7.20.15+ds1+~cs214.269.168-13
    • 7.20.15+ds1+~cs214.269.168-14
    • 7.20.15+ds1+~cs214.269.168-15
    • 7.20.15+ds1+~cs214.269.168-16
    • 7.20.15+ds1+~cs214.269.168-17
    • 7.20.15+ds1+~cs214.269.168-18
    • 7.20.15+ds1+~cs214.269.168-8
    • 7.20.15+ds1+~cs214.269.168-9
    • 8.0.4+ds1+~cs177.303.116-1
    Affected ranges
    • ECOSYSTEM: < 8.0.4+ds1+~cs177.303.116-2

    Update to 8.0.4+ds1+~cs177.303.116-2

  • @babel/core npm

    Affected ranges
    • SEMVER: ≥ 8.0.0-alpha.0, < 8.0.0-rc.6

    Update to 8.0.0-rc.6

  • @babel/core npm

    Affected ranges
    • SEMVER: < 7.29.6

    Update to 7.29.6

  • babel Ubuntu:16.04:LTS

    Versions
    • 1.4.0.dfsg-8.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →