CVE-2026-44728

Improper Control of Generation of Code when compiling specifically crafted malicious code with @babel/plugin-transform-modules-systemjs

State
Published
Severity
8.2 High
Published
May 26, 2026
Updated
May 28, 2026
Reserved
May 7, 2026

Read the record on cve.org

Description

Babel is a compiler for writing next generation JavaScript. From 7.12.0 to before 7.29.4 and 8.0.0-alpha.13, using Babel to compile code that was specifically crafted by an attacker can cause Babel to generate output code that executes arbitrary code. This vulnerability is fixed in 7.29.4 and 8.0.0-alpha.13.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')

Affected Products

ProductVersions
babelbabel
  • >= 7.12.0, < 7.29.4Affected
  • >= 8.0.0-alpha.0, < 8.0.0-alpha.13Affected
plugin-transform-modules-systemjs@babel
  • >= 7.12.0, < 7.29.4Affected
  • >= 8.0.0-alpha.0, < 8.0.0-alpha.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.