Home / babel / babel / CVE-2023-45133
CVE-2023-45133: is it exploited, and which versions of babel are affected and fixed?
CVE-2023-45133 is an incomplete List of Disallowed Inputs vulnerability in babel. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: @babel/traverse before 7.23.2, @babel/traverse from 8.0.0-alpha.0 before 8.0.0-alpha.4 and babel-traverse 0 and later, no fix listed (GitHub advisory GHSA-67hx-6x53-jw92). Fixed in 7.23.2 and 8.0.0-alpha.4 (GitHub advisory GHSA-67hx-6x53-jw92). Severity: Critical (9.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-45133?
Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code
Babel is a compiler for writingJavaScript. In `@babel/traverse` prior to versions 7.23.2 and 8.0.0-alpha.4 and all versions of `babel-traverse`, using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the `path.evaluate()`or `path.evaluateTruthy()` internal Babel methods. Known affected plugins are `@babel/plugin-transform-runtime`; `@babel/preset-env` when using its `useBuiltIns` option; and any "polyfill provider" plugin that depends on `@babel/helper-define-polyfill-provider`, such as `babel-plugin-polyfill-corejs3`, `babel-plugin-polyfill-corejs2`, `babel-plugin-polyfill-es-shims`, `babel-plugin-polyfill-regenerator`. No other plugins under the `@babel/` namespace are impacted, but third-party plugins might be. Users that only compile trusted code are not impacted. The vulnerability has been fixed in `@babel/[email protected]` and `@babel/[email protected]`. Those who cannot upgrade `@babel/traverse` and are using one of the affected packages mentioned above should upgrade them to their latest version to avoid triggering the vulnerable code path in affected `@babel/traverse` versions: `@babel/plugin-transform-runtime` v7.23.2, `@babel/preset-env` v7.23.2, `@babel/helper-define-polyfill-provider` v0.4.3, `babel-plugin-polyfill-corejs2` v0.4.6, `babel-plugin-polyfill-corejs3` v0.8.5, `babel-plugin-polyfill-es-shims` v0.10.0, `babel-plugin-polyfill-regenerator` v0.5.3.
From the CVE record by GitHub_M, last updated February 13, 2025, 17:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| babel | babel | < 7.23.2 >= 8.0.0-alpha.0, < 8.0.0-alpha.4 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @babel/traverse | < 7.23.2 | 7.23.2 | GHSA-67hx-6x53-jw92 |
| npm | @babel/traverse | >= 8.0.0-alpha.0, < 8.0.0-alpha.4 | 8.0.0-alpha.4 | GHSA-67hx-6x53-jw92 |
| npm | babel-traverse | >= 0 | none listed | GHSA-67hx-6x53-jw92 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 4, 2024. Summary: Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| debian | debian linux | 10.0 | operating system |
| debian | debian linux | 11.0 | operating system |
| debian | debian linux | 12.0 | operating system |
| babeljs | babel | before 7.23.2 | application |
| babeljs | babel | 8.0.0 | application |
| babeljs | babel-helper-define-polyfill-provider | before 0.4.3 | application |
| babeljs | babel-plugin-polyfill-corejs2 | before 0.4.6 | application |
| babeljs | babel-plugin-polyfill-corejs3 | before 0.8.5 | application |
| babeljs | babel-plugin-polyfill-es-shims | before 0.10.0 | application |
| babeljs | babel-plugin-polyfill-regenerator | before 0.5.3 | application |
| babeljs | babel-plugin-transform-runtime | before 7.23.2 | application |
| babeljs | babel-preset-env | before 7.23.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:28 UTC.
How severe is CVE-2023-45133?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.4 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-45133 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 18, 2024)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/babel/babel/security/advisories/GHSA-67hx-6x53-jw92 x_refsource_CONFIRM
- https://github.com/babel/babel/pull/16033 x_refsource_MISC
- https://github.com/babel/babel/commit/b13376b346946e3f62fc0848c1d2a23223314c82 x_refsource_MISC
- https://github.com/babel/babel/releases/tag/v7.23.2 x_refsource_MISC
- https://github.com/babel/babel/releases/tag/v8.0.0-alpha.4 x_refsource_MISC
- https://www.debian.org/security/2023/dsa-5528
- https://lists.debian.org/debian-lts-announce/2023/10/msg00026.html
When was it published, and where is the official record?
- Reserved
- October 4, 2023
- Published
- October 12, 2023, 16:17 UTC
- CVE record updated
- February 13, 2025, 17:13 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:28 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect babel?
- Jun 22, 2026CVE-2026-49356 babel: path traversal (reading or writing files outside the intended folder)
- May 26, 2026CVE-2026-44728 babel: code injection (remote code execution)
- Mar 11, 2025CVE-2025-27789 babel: regular expression denial of service (ReDoS)
Questions about CVE-2023-45133
Is CVE-2023-45133 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of babel are affected by CVE-2023-45133?
@babel/traverse before 7.23.2, @babel/traverse from 8.0.0-alpha.0 before 8.0.0-alpha.4 and babel-traverse 0 and later, no fix listed, per the GitHub advisory GHSA-67hx-6x53-jw92. The tables above give every range the sources list.
Which version fixes CVE-2023-45133?
7.23.2 and 8.0.0-alpha.4, per the GitHub advisory GHSA-67hx-6x53-jw92. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-45133?
Critical (9.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-45133?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.