Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2026-33937: Handlebars templates may allow unauthorized code execution

CVE-2026-33937 · published today
Summary

The Handlebars library used in several packages can be tricked into running unwanted code. This affects the listed Handlebars implementations and could let attackers affect your applications. Update to the latest patched versions provided by the maintainers to protect your systems.

What to do
  • Update jaylinski handlebars to version 4.7.9.
  • Update rootio @rootio/handlebars to version 4.7.8-root.io.4.
  • Update rootio @rootio/handlebars to version 4.7.8-root.io.5.
  • Update rootio @rootio/handlebars to version 4.7.7-root.io.1.
  • Update rootio @rootio/handlebars to version 4.7.8-root.io.6.
  • Update jaylinski handlebars to version 4.7.8-aikido.6.
  • Update jaylinski handlebars to version 4.7.7-aikido.3.
  • Update rootio @rootio/handlebars to version 4.7.7-root.io.3.
  • Update handlebars to version 4.7.7-aikido.5.
  • Update rootio @rootio/handlebars to version 4.7.7-root.io.5.
  • Update handlebarsjs handlebars to version 4.7.9 or later.
Affected software
Ecosystem VendorProductAffected versions
npm jaylinski handlebars >= 4.0.0, <= 4.7.8
Fix: upgrade to 4.7.9
Debian:11 debian node-handlebars All versions
Debian:12 debian node-handlebars All versions
Debian:13 debian node-handlebars All versions
Debian:14 debian node-handlebars All versions
– handlebarsjs handlebars >= 4.0.0, < 4.7.9
cpe:2.3:a:handlebarsjs:handlebars:*:*:*:*:*:node.js:*:*
Root:npm rootio @rootio/handlebars < 4.7.8-root.io.4
< 4.7.8-root.io.5
< 4.7.7-root.io.1
< 4.7.8-root.io.6
< 4.7.7-root.io.3
< 4.7.7-root.io.5
Fix: upgrade to 4.7.8-root.io.4
Root:npm jaylinski handlebars < 4.7.8-aikido.6
< 4.7.7-aikido.3
Fix: upgrade to 4.7.8-aikido.6
– handlebars-lang handlebars.js >= 4.0.0, < 4.7.9
Root:npm – handlebars < 4.7.7-aikido.5
Fix: upgrade to 4.7.7-aikido.5
Original advisory text
CVE-2026-33937 in handlebars - Patched by Root
Root has patched CVE-2026-33937 in the handlebars package for Root:npm. Multiple fixed versions available.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.8 Critical
Exploitation
2% chance of attack within 30 days
Type
CWE-94Code Injection
CWE-843Type Confusion
Timeline
Published15 Oct 2026
Updated15 Oct 2026
First seen27 Mar 2026
Track software like this
Free during beta