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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 4.7.10 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-06 · Modified: 2026-10-07
- Aliases: UBUNTU-CVE-2026-106446, DEBIAN-CVE-2026-106446, CGA-3299-8mg6-89g6, CGA-3824-77g7-9grg, CGA-6g28-4xfx-x6qh, CGA-84gh-24cj-33w5, CGA-8574-w3cv-c6xw, CGA-8g6c-xc5x-653x, CGA-9fqw-gv66-83mv, CGA-9mj8-4w9w-7h8p, CGA-f4c3-9mg2-84q2, CGA-fccg-8rh6-mghw, CGA-g62r-wmph-vcvv, CGA-ghxw-249r-q38r, CGA-grwj-v3m9-f3v9, CGA-jm28-rhg7-wrgq, CGA-m22g-gh72-hm9c, CGA-m4p8-fj7w-89fc, CGA-mq6m-vp69-4c4h, CGA-rqc9-6hg9-xcx7, CGA-wf5c-3mpv-xj62, CGA-wp3x-wcf7-ghh8, GHSA-8r5x-fm3f-whwj, CGA-2cw7-h9c6-854q, CGA-2pg4-6mm7-jh3v, CGA-34c2-r6qc-fg7p, CGA-35x2-67v3-4jmg, CGA-58cg-45cq-cg73, CGA-5j98-j7gg-6wp3, CGA-5pv3-2f2g-qxwh, CGA-5wq9-hjfw-wcr8, CGA-6jg5-7hwv-xgvr, CGA-6xg5-6hcq-p64r, CGA-7fwg-frpm-fvq6, CGA-7jgm-p74x-479x, CGA-85h4-rr52-72q4, CGA-939p-8j8m-4w63, CGA-93p8-8gcm-m9cr, CGA-9527-mv2j-qx5j, CGA-95w6-9q9r-x6mj, CGA-984g-74qc-8c6q, CGA-9cqr-qcp3-jgh3, CGA-9g25-2535-q882, CGA-9hv7-9vcm-8pxc, CGA-c2j3-gx3x-c8vh, CGA-cx73-6www-47xq, CGA-f6r2-qj7g-6fm2, CGA-f9xh-2c23-5xm6, CGA-fh6w-gf95-wm9r, CGA-g6xr-4356-cc98, CGA-gfwv-2gmw-h5mm, CGA-ggpr-vp4q-jfqg, CGA-gmm5-mwpm-x9f7, CGA-gmr6-mrqf-ffq5, CGA-gpfj-72m8-6jm9, CGA-h336-mjhh-vp8r, CGA-hm94-hc4h-2p35, CGA-j3m6-7px4-j569, CGA-j4px-2g92-gcqm, CGA-jwg2-ww3v-fphr, CGA-jwqh-hmx7-4w9w, CGA-jxvc-4479-x2w6, CGA-m6m7-822c-8f67, CGA-mhpj-hp8v-vqg2, CGA-mp59-24h5-r9hc, CGA-mw82-4vwm-3f59, CGA-p25v-pgq4-xfpq, CGA-p2w3-28f7-vrcr, CGA-p4vr-w997-6wm2, CGA-p5jx-xqxh-mx5m, CGA-pr3w-xqw4-q5fm, CGA-prvr-3fxj-gmx8, CGA-r27g-8qrh-pfj8, CGA-r4hq-8h6j-jg8j, CGA-r866-84vm-gw3x, CGA-rp8r-5hxm-845r, CGA-wh62-c2j2-2h2g, CGA-qvrf-3x93-wcrf, CGA-r3fp-rq46-xmg4, CGA-rqjp-v3qq-6mvp, CGA-wmjr-jf69-m8g5, CGA-wv7c-pjj3-67h4, CGA-x483-h3j4-gcjc, CGA-293h-94hq-4f7j, CGA-mp54-rcq2-52c4, CGA-9qjc-8h68-7ch6, CGA-xv6f-rm98-22h8, CGA-5h6r-7jq9-pgwq, CGA-f8wq-9fh9-h6fg, CGA-7gh2-jmw4-hm65, CGA-v39g-5h76-5j32
- Record: https://cvemate.com/vulnerability/CVE-2026-106446 · JSON: https://cvemate.com/vulnerability/CVE-2026-106446/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.904%, percentile 61.02%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 52)

- chainguard eco-jess (Chainguard): All versions (No fix recorded) \| \< 2026.10.28.40737702110001-r0
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-assets-fips-19.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-assets-fips-19.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-assets-fips-19.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.19 (Chainguard): All versions (No fix recorded) \| \< 8.19.23-r3
- chainguard kibana-8.19-bitnami (Chainguard): All versions (No fix recorded) \| \< 8.19.23-r3
- chainguard kibana-9.2 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.4 (Chainguard): All versions (No fix recorded) \| \< 9.4.7-r8
- chainguard kibana-9.5 (Chainguard): All versions (No fix recorded) \| \< 9.5.4-r7
- chainguard langfuse-4-worker (Chainguard): \< 4.56.0-r0
- chainguard langfuse-fips-4-worker (Chainguard): \< 4.49.0-r5
- chainguard lerna (Chainguard): All versions (No fix recorded) \| \< 10.0.1-r10
- chainguard librechat (Chainguard): All versions (No fix recorded) \| \< 0.8.8-r2
- chainguard nextcloud-server-32 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-8r5x-fm3f-whwj>
- <https://github.com/handlebars-lang/handlebars.js/pull/2185>
- <https://github.com/handlebars-lang/handlebars.js/commit/703fdcc5fd6cc8d1cc0c33cc19de40c467c4b8d2>
- <https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10>
- <https://ubuntu.com/security/CVE-2026-106446>
- <https://www.cve.org/CVERecord?id=CVE-2026-106446>
- <https://security-tracker.debian.org/tracker/CVE-2026-106446>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106446.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106446>
- <https://github.com/handlebars-lang/handlebars.js>

---

Data as of 2026-12-05T08:38:17.347Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
