CVE-2026-106446
Reported by GitHub_M · Published October 6, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| handlebars-lang | handlebars.js | >= 4.0.0, < 4.7.10 |
| chainguard | gitlab-rails-ce-fips-19.5 | * |
| wolfi | ts-patch | 0 |
| wolfi | nextcloud-server-33 | 0 |
| chainguard | wazuh-dashboard-fips | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
| wolfi | tileserver-gl | 0 |
| chainguard | langfuse-4 | 0 |
| chainguard | verdaccio | 0 |
| chainguard | wazuh-dashboard | 0 |
| chainguard | gitlab-rails-ce-fips-19.4 | * |
| chainguard | opensearch-dashboards-3 | 0 |
| chainguard | librechat | 0 |
| chainguard | renovate | 0 |
| chainguard | kibana-8.19 | 0 |
| chainguard | kibana-9.5 | 0 |
| chainguard | nextcloud-server-33 | 0 |
| handlebars-lang | handlebars.js | 4.0.0 |
| chainguard | ts-patch | 0 |
| wolfi | lerna | 0 |
…and 17 more
Timeline
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 7, 2026 EPSS Score
- Oct 7, 2026 CVE Updated
- Oct 10, 2026 EPSS Score
- Oct 13, 2026 EPSS Score
- Oct 14, 2026 EPSS Score
- Oct 16, 2026 EPSS Score
- Oct 19, 2026 EPSS Score
- Oct 21, 2026 EPSS Score
- Oct 24, 2026 EPSS Score
- Oct 25, 2026 EPSS Score
References
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-8r5x-fm3f-whwj x_refsource_CONFIRM
- https://github.com/handlebars-lang/handlebars.js/pull/2185 x_refsource_MISC
- https://github.com/handlebars-lang/handlebars.js/commit/703fdcc5fd6cc8d1cc0c33cc19de40c467c4b8d2 x_refsource_MISC
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-106446 advisory
- https://github.com/advisories/GHSA-8r5x-fm3f-whwj advisory