# CVE-2026-106445: Handlebars: JavaScript Injection via Own Property Check Bypass

- Severity: Critical 9.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T19:39:08.916Z
- Modified: 2026-10-12T15:17:06.910Z
- Also known as: GHSA-p8wg-vrv2-v86f
- Weaknesses: CWE-184, CWE-1289
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- handlebars-lang handlebars.js: >= 3.0.0, < 4.7.10
- handlebars (npm): from 3.0.0 before 4.7.10

## Every score

- GitHub_M: CVSS:4.0 9.2 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/handlebars-lang/handlebars.js/security/advisories/GHSA-p8wg-vrv2-v86f> (exploit, web)
- <https://github.com/handlebars-lang/handlebars.js/pull/2185> (web)
- <https://github.com/handlebars-lang/handlebars.js/commit/ceec388abe1d1aac8f6369860d5f390fa71ef4fa> (web)
- <https://github.com/handlebars-lang/handlebars.js/releases/tag/v4.7.10> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106445> (advisory)
- <https://github.com/handlebars-lang/handlebars.js> (package)

## Sources

- CVE List: [CVE-2026-106445](https://www.cve.org/CVERecord?id=CVE-2026-106445), CVE Terms of Use, modified 2026-10-12
- GitHub Advisory Database: [GHSA-p8wg-vrv2-v86f](https://github.com/advisories/GHSA-p8wg-vrv2-v86f), CC-BY-4.0, modified 2026-10-12
- NVD: [CVE-2026-106445](https://nvd.nist.gov/vuln/detail/CVE-2026-106445), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-106445 · Whole record: https://cve.day/CVE-2026-106445.json · Rebuilt by cve.day 2026-11-25T22:59:42.507Z
