Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
Handlebars templates may run attacker code on server
published 10 days ago
Summary
Versions of Handlebars from 3.0.0 through 4.7.9 let a crafted template execute arbitrary JavaScript when the setting allowProtoMethodsByDefault is turned on. This can let an attacker run code with the same rights as your application. Upgrade Handlebars to version 4.7.10 (or later) and disable the allowProtoMethodsByDefault option in the listed Docker images.
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 3.0.0 until 4.7.10, Handlebars…
Handlebars provides the power necessary to let users build semantic templates. From 3.0.0 until 4.7.10, Handlebars lookupProperty returns Function.prototype.constructor before applying the prototype-access deny list because constructor is an own property of Function.prototype. When an attacker can render a controlled template with allowProtoMethodsByDefault enabled and an accessible function in the template context, the template can traverse from that function through its prototype to Function.prototype and then obtain the Function constructor through the own-property bypass. This permits attacker-controlled JavaScript to execute with the server application's privileges. This issue is fixed in version 4.7.10.
References
- https://scout.docker.com/v/DHI-qedn-6qpr-xfxg-gsuo Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-106445 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2026-106445 Vendor Advisory
- https://github.com/advisories/GHSA-p8wg-vrv2-v86f Vendor Advisory
- https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-p8wg-v... Vendor Advisory
- https://github.com/handlebars-lang/handlebars.js/pull/2185 Patch
- https://github.com/handlebars-lang/handlebars.js/commit/ceec388abe1d1aac8f636986... Patch
- https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10 URL
- https://ubuntu.com/security/CVE-2026-106445 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-106445 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Timeline
Published12 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-qedn-6qpr-xfxg-gsuo · OSV
Track software like this
Free during beta