Type Confusion in handlebars.js - CVE-2026-106446
Published: October 7, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary JavaScript code.
The vulnerability exists due to type confusion in the AST validation and code generation used by Handlebars.compile() and Handlebars.precompile() when processing untrusted pre-parsed AST objects. A remote attacker can submit a specially crafted AST object containing values that are written unchecked into generated JavaScript to execute arbitrary JavaScript code.
Applications that only pass template strings are not affected. The Program.blockParams.length vector works with default compile options and does not require the referenced block helper to exist.
Affected software
Fedora
python-robotframework
How to mitigate CVE-2026-106446
python-robotframework - update to 7.5.1-1.fc46