Red Hat VEX
RHVEX-CVE-2026-106445
handlebars: Handlebars: JavaScript Injection via Own Property Check Bypass
Details
A flaw was found in Handlebars. The lookupProperty own-property check returns Function.prototype.constructor before the prototype-method deny list is applied. When an attacker can render a controlled template with allowProtoMethodsByDefault enabled and an accessible function in the template context, arbitrary JavaScript can execute with the application process privileges.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | cockpit | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-bridge | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-dashboard | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-doc | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-machines | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-packagekit | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-pcp | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-storaged | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-system | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | cockpit-ws | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-106445
- https://bugzilla.redhat.com/show_bug.cgi?id=2547112
- https://www.cve.org/CVERecord?id=CVE-2026-106445
- https://nvd.nist.gov/vuln/detail/CVE-2026-106445
- https://github.com/handlebars-lang/handlebars.js/commit/ceec388abe1d1aac8f6369860d5f390fa71ef4fa
- 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/security/advisories/GHSA-p8wg-vrv2-v86f