CVE-2026-106446
Last modified
CVE-2026-106446 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10, Handlebars.compile() and Handlebars.precompile() accept pre-parsed AST objects while validating only selected PathExpression, NumberLiteral, and BooleanLiteral values. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
Description
Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10, Handlebars.compile() and Handlebars.precompile() accept pre-parsed AST objects while validating only selected PathExpression, NumberLiteral, and BooleanLiteral values. This issue bypasses the AST validation introduced in version 4.7.9 for CVE-2026-33937. An attacker who can supply an object instead of a template string can place JavaScript expressions in unchecked values such as Program.blockParams.length, a non-PathExpression parameter depth, a non-string StringLiteral.value, or a non-string PathExpression.original. The compiler emits those values into generated JavaScript, causing code execution in the server process when compile output renders or wherever precompile output is loaded. Applications that pass only template strings are not affected. This issue is fixed in version 4.7.10.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| handlebars-lang | handlebars.js | >= 4.0.0, < 4.7.10 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-106446?
How severe is CVE-2026-106446?
How do I fix CVE-2026-106446?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-106440Hydra is a framework for elegantly configuring complex appli…7.8
- CVE-2026-106441Hydra is a framework for elegantly configuring complex appli…7.8
- CVE-2026-106442Hydra is a framework for elegantly configuring complex appli…7.8
- CVE-2026-106443WeasyPrint helps web developers to create PDF documents. Pri…8.8
- CVE-2026-106444Handlebars provides the power necessary to let users build s…4.7
- CVE-2026-106445Handlebars provides the power necessary to let users build s…9.2
- CVE-2026-106447StableLib is a stable library of useful TypeScript and JavaS…8.7
- CVE-2026-106448StableLib is a stable library of useful TypeScript and JavaS…8.9
- CVE-2026-106449yawkat LZ4 Java provides LZ4 compression for Java. Prior to …3.7
- CVE-2026-10645The Zephyr ext2 filesystem driver (subsys/fs/ext2) trusted t…5.5
- CVE-2026-106450yawkat LZ4 Java provides LZ4 compression for Java. Prior to …5.3
- CVE-2026-106451yawkat LZ4 Java provides LZ4 compression for Java. From 1.7.…7.3
Are you affected by CVE-2026-106446?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
