CVE-2025-27789: Node babel · Babel is a compiler for writing next generation JavaScript
Affects node-babelSource GCVE Database
Not known to be exploited · CVSS 6.2 Medium.
Data as of 12 Nov 2026, 19:25 UTC
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10node-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSnode-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10node-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSnode-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSnode-babel7pkg:deb/ubuntu/node-babel7?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSnode-babelpkg:deb/ubuntu/node-babel?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade @babel/helpers and @babel/runtime to version 7.26.10 or later (or 8.0.0-alpha.17 or later). Optionally, upgrade @babel/core to 7.26.10 or later to ensure patched dependencies. After updating, recompile all affected code to apply the fix. No other workarounds are available.
Description
Babel versions prior to 7.26.10 and 8.0.0-alpha.17 generate code with a polyfill for the .replace method that exhibits quadratic complexity on certain replacement pattern strings when compiling regular expression named capturing groups. This vulnerability can lead to denial of service if untrusted input is used as the replacement string in .replace. The issue is fixed in @babel/helpers and @babel/runtime versions 7.26.10 and 8.0.0-alpha.17. Users must update these dependencies and recompile their code to mitigate the vulnerability. No known workarounds exist.