cve.bz

CVE-2026-106445 handlebars-lang handlebars.js: Incomplete List of Disallowed Inputs

9.2 criticalEPSS 0.6%Fix available

Critical (9.2) in handlebars-lang handlebars.js. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in handlebars 4.7.10.

On this page
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.

Severity

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
EPSS
0.6% (unchanged from 0.6% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-10-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-184 Incomplete List of Disallowed Inputs
CWE-1289 Improper Validation of Unsafe Equivalence in Input
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-106445 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-106445?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-106445?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-106445 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
handlebars-lang handlebars.js>= 3.0.0, < 4.7.10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-p8wg-vrv2-v86fnpmhandlebars>=3.0.0 <4.7.104.7.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13node-handlebarsno fix listedDEBIAN-CVE-2026-106445
Debian14node-handlebars3:4.7.10-1DEBIAN-CVE-2026-106445
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morenode-handlebarsno fix listedUBUNTU-CVE-2026-106445

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw has an Important impact. Exploitation requires rendering a controlled template with allowProtoMethodsByDefault set to true (off by default) and an accessible function in the template context, allowing bypass of the constructor deny list via Function.prototype. The issue is not Critical for Red Hat scoring because those non-default runtime conditions raise attack complexity (AC:H); default Handlebars configurations that keep allowProtoMethodsByDefault disabled are not exploitable for this issue.

Red Hat's mitigation

Do not set allowProtoMethodsByDefault to true when compiling or rendering untrusted templates or untrusted data.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-openshift-console-plugin-rhel9:4.2.0-19Fixed 2026-11-04RHSA-2026:95360
multicluster engine for Kubernetes 2.10multicluster-engine/console-mce-rhel9:1793642566Fixed 2026-11-12RHSA-2026:99960
multicluster engine for Kubernetes 2.11multicluster-engine/console-mce-rhel9:1793640464Fixed 2026-11-13RHSA-2026:100126
multicluster engine for Kubernetes 2.17multicluster-engine/console-mce-rhel9:1793731292Fixed 2026-11-05RHSA-2026:95712
multicluster engine for Kubernetes 2.17multicluster-engine/console-mce-rhel9:1793731292Fixed 2026-11-09RHSA-2026:96629
multicluster engine for Kubernetes 2.8multicluster-engine/console-mce-rhel9:1792886718Fixed 2026-10-29RHSA-2026:92303
multicluster engine for Kubernetes 2.9multicluster-engine/console-mce-rhel9:1793640469Fixed 2026-11-12RHSA-2026:99958
Red Hat Advanced Cluster Management for Kubernetes 2.13rhacm2/console-rhel9:1792883111Fixed 2026-10-29RHSA-2026:92307
Red Hat Advanced Cluster Management for Kubernetes 2.14rhacm2/console-rhel9:1793640457Fixed 2026-11-13RHSA-2026:99963
Red Hat Advanced Cluster Management for Kubernetes 2.15rhacm2/console-rhel9:1793640474Fixed 2026-11-13RHSA-2026:99964
Node HealthCheck Operatorworkload-availability/node-healthcheck-must-gather-rhel9Affected
Node HealthCheck Operatorworkload-availability/node-healthcheck-operator-bundleAffected
Node HealthCheck Operatorworkload-availability/node-healthcheck-rhel9-operatorAffected
Node HealthCheck Operatorworkload-availability/node-remediation-console-rhel8Affected
Red Hat AMQ Broker 7amq-broker-bin.zipNot affected
Red Hat AMQ Broker 7amq-broker-maven-repository.zipAffected
Red Hat build of Apache Camel for Spring Boot 4rhaf-camel-for-springboot-maven-repository.zipNot affected
Red Hat build of Apache Camel for Spring Boot 4rhaf-camel-maven-repository.zipNot affected
Red Hat build of Apache Camel for Spring Boot 4rhaf-camel-spring-boot-maven-repository.zipNot affected
Red Hat build of Apache Camel - HawtIO 4rhaf-hawtio-maven-repository.zipNot affected
59 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-106445.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • murrez/CVE-2026-106445 Harbor Check: matches CVE 2 stars, Python, created
    CVE-2026-106445 — Handlebars 4.0.0–4.7.9 RCE via Function.prototype.constructor bypass (GHSA-p8wg-vrv2-v86f). PoCbit PoC + Docker lab (4.7.…

Attack patterns (CAPEC)

  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
  • CAPEC-182 Flash Injection Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON