---
title: "CVE-2026-106446: Handlebars - Server-Side Template Injection"
description: "Handlebars 4.0.0 to < 4.7.10 contains a server-side template injection caused by insufficient AST validation in Handlebars.compile() and Handlebars.precompile(), letting attackers execute arbitrary code by supplying crafted AST objects, exploit requires attacker to supply an object instead of a template string."
url: https://panop.io/threat-heartbeat/CVE-2026-106446/
---

# CVE-2026-106446 Handlebars - Server-Side Template Injection

Handlebars 4.0.0 to < 4.7.10 contains a server-side template injection caused by insufficient AST validation in Handlebars.compile() and Handlebars.precompile(), letting attackers execute arbitrary code by supplying crafted AST objects, exploit requires attacker to supply an object instead of a template string.

CVSS base score 9.8 /10

Critical

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.64% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-106446)

## Details

Type

Server-Side Template Injection

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

6 October 2026

Updated

15 October 2026

Weakness

[CWE-94](https://cwe.mitre.org/data/definitions/94.html)

## Vendor fix

Upgrade to version 4.7.10 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-106446](https://nvd.nist.gov/vuln/detail/CVE-2026-106446)
- [https://github.com/handlebars-lang/handlebars.js/pull/2185](https://github.com/handlebars-lang/handlebars.js/pull/2185)
- [https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10](https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10)
- [https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-8r5x-fm3f-whwj](https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-8r5x-fm3f-whwj)
- [https://github.com/handlebars-lang/handlebars.js/commit/703fdcc5fd6cc8d1cc0c33cc19de40c467c4b8d2](https://github.com/handlebars-lang/handlebars.js/commit/703fdcc5fd6cc8d1cc0c33cc19de40c467c4b8d2)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
