CVE-2026-106446
Handlebars: JavaScript Injection via AST Type Confusion in compile (Program.blockParams)
A public proof of concept exists; no exploitation attested.
- Published2026-10-06
- Fixed in4.7.10
- WeaknessCWE-843 · CWE-94
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-10-0620:17CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.x | ≥ 4.0.0, < 4.7.10 | 4.7.10 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- handlebars-lang handlebars.jsAffected
- = >= 4.0.0, < 4.7.10no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-06
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.7-root.io.1
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.3-root.io.1
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.3-root.io.2
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.7-root.io.2
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.7-root.io.3
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.8-root.io.1
- @rootio/handlebarsRoot:npmall versions · fixed in 3.0.8-root.io.2
- @rootio/handlebarsRoot:npmall versions · fixed in 4.7.7-root.io.4
71 more package ranges on OSV.dev
Vendor advisories
handlebars: Handlebars: JavaScript Injection via AST Type Confusion in compile (Program.blockParams)
workload-availability/node-healthcheck-must-gather-rhel9 as a component of Node HealthCheck Operator · workload-availability/node-healthcheck-operator-bundle as a component of Node HealthCheck Operator · workload-availability/node-healthcheck-rhel9-operator as a component of Node HealthCheck Operator · +15 more
Red Hat Security Advisory: RHOAI 2.25.13 - Red Hat OpenShift AI
Red Hat Security Advisory: multicluster engine for Kubernetes v2.11.8 security update
Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.15.9 security update
Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes v2.14.7 security update
Red Hat Security Advisory: multicluster engine for Kubernetes v2.10.8 security update
10 more advisories
Fix
- Update handlebars to 4.7.10
- Vendor fix Red Hat Product Security RHSA-2026:100634 · 8 productsFor Red Hat OpenShift AI 2.25.13 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
- Vendor fix Red Hat Product Security RHSA-2026:100126 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.16/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2026:99964 · 4 productsBefore you apply this update, make sure all previously released errata that are relevant to your system are applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:99960 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.15/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2026:99958 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.14/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2026:96629 · 4 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/latest/html/clusters/cluster_mce_overview#mce-install-intro
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-10-07
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2026-10-07
- CNACVSS 3.19.8known since 2026-10-23
- CNAweakness (CWE)CWE-843, CWE-94known since 2026-10-23
- FIRST EPSSEPSS score0.9 %2026-12-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2026-10-08
Identifiers
- CGA-293h-94hq-4f7jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2cw7-h9c6-854qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2pg4-6mm7-jh3vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3299-8mg6-89g6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-34c2-r6qc-fg7psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-35x2-67v3-4jmgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3824-77g7-9grgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-58cg-45cq-cg73same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5h6r-7jq9-pgwqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5j98-j7gg-6wp3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5pv3-2f2g-qxwhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5wq9-hjfw-wcr8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6g28-4xfx-x6qhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6jg5-7hwv-xgvrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6xg5-6hcq-p64rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7fwg-frpm-fvq6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7gh2-jmw4-hm65same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7jgm-p74x-479xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-84gh-24cj-33w5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8574-w3cv-c6xwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-85h4-rr52-72q4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8g6c-xc5x-653xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-939p-8j8m-4w63same flawChainguard · CC-BY-NC-ND-4.0
- CGA-93p8-8gcm-m9crsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9527-mv2j-qx5jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-95w6-9q9r-x6mjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-984g-74qc-8c6qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9cqr-qcp3-jgh3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9fqw-gv66-83mvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9g25-2535-q882same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9hv7-9vcm-8pxcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9mj8-4w9w-7h8psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9qjc-8h68-7ch6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c2j3-gx3x-c8vhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cx73-6www-47xqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f4c3-9mg2-84q2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6r2-qj7g-6fm2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-f8wq-9fh9-h6fgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f9xh-2c23-5xm6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-fccg-8rh6-mghwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fh6w-gf95-wm9rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g62r-wmph-vcvvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g6xr-4356-cc98same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gfwv-2gmw-h5mmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ggpr-vp4q-jfqgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ghxw-249r-q38rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gmm5-mwpm-x9f7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gmr6-mrqf-ffq5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gpfj-72m8-6jm9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-grwj-v3m9-f3v9same flawChainguard · CC-BY-NC-ND-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-10-06
- Last modified
- 2026-10-07
- NVD status
- Awaiting Analysis
- GitHub advisory
- GHSA-8r5x-fm3f-whwj
Frequently asked questions
What is CVE-2026-106446?
Is CVE-2026-106446 actively exploited?
What is the CVSS score for CVE-2026-106446?
Running handlebars? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-8r5x-fm3f-whwj
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0