Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
Docker hardened images allow remote code execution via Handlebars
published 10 days ago
Summary
Versions of the Handlebars template engine used in several Docker hardened images (including JupyterHub, Postman MCP, DataHub Ingestion, and Superset) can run malicious JavaScript when an attacker supplies specially crafted objects instead of plain template text. This can let an attacker execute code on the server where the compiled template runs. Upgrade the Handlebars library to version 4.7.10 or later to close the issue.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.24 | docker hardened images | jupyterhub-k8s-singleuser-sample-fips | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | postman-mcp | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | datahub-ingestion | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | jupyterhub-k8s-singleuser-sample-fips | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | jupyterhub-k8s-singleuser-sample | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | postman-mcp | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | superset | All versions |
Original advisory text
Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10…
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.
References
- https://scout.docker.com/v/DHI-gofd-k76w-kgca-ohz6 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-106446 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-106446 Vendor Advisory
- https://github.com/advisories/GHSA-8r5x-fm3f-whwj Vendor Advisory
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-8r5x-f... Vendor Advisory
- https://github.com/handlebars-lang/handlebars.js/pull/2185 Patch
- https://github.com/handlebars-lang/handlebars.js/commit/703fdcc5fd6cc8d1cc0c33cc... Patch
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10 URL
- https://ubuntu.com/security/CVE-2026-106446 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-106446 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Timeline
Published12 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-gofd-k76w-kgca-ohz6 · OSV
Track software like this
Free during beta