9.8

CVE-2026-106446: Handlebars: JavaScript Injection via AST Type Confusion in compile (Program.blockParams)

Awaiting analysis
AliasesUBUNTU-CVE-2026-106446DEBIAN-CVE-2026-106446CGA-3299-8mg6-89g6
Published 06-10-2026Last modified 07-10-2026

Vulnerability summary

CVE-2026-106446 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in handlebars-lang handlebars.js. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 61% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.90%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 06-10-2026
    PublishedVulnerability first disclosed.
  2. 07-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.90%

Chance of exploitation in the next 30 days

Percentile

61%

Versus all other CVEs

30-day change

Increase +0.12 pp

From 0.79% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard39 products
  • eco-jessAll versions (No fix recorded) | < 2026.10.28.40737702110001-r0
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.11All versions (No fix recorded) | < 18.11.13-r0
  • gitlab-rails-ce-18.8All versions (No fix recorded)
  • gitlab-rails-ce-18.9All versions (No fix recorded)
Wolfi8 products
  • lernaAll versions (No fix recorded) | < 10.0.1-r10
  • nextcloud-server-33All versions (No fix recorded) | < 33.0.9-r7
  • opensearch-dashboards-3All versions (No fix recorded) | < 3.8.0-r13
  • prismAll versions (No fix recorded) | < 5.16.0-r16
  • rancher-api-ui< 1.2.3-r15
Ubuntu2 products
  • node-handlebarsAll versions (No fix recorded)
  • ruby-handlebars-assetsAll versions (No fix recorded)
Debian1 product
  • node-handlebarsAll versions (No fix recorded) | < 3:4.7.10-1
Handlebars-lang1 product
Npm1 product
  • handlebars≥ 4.0.0, < 4.7.10

6 vendors · 52 products

References

10 links