CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5) in handlebarsjs handlebars. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in handlebars 4.7.9.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hhandlebars (npm): fixed in 4.7.9Explain CVE-2026-33939 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33939?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33939?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-33939 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| handlebarsjs:handlebars | from 4.0.0 before 4.7.9 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-9cx6-37pm-9jff | npm | handlebars | >=4.0.0 <4.7.9 | 4.7.9 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | node-handlebars | no fix listed | DEBIAN-CVE-2026-33939 |
| Debian | 14 | node-handlebars | 3:4.7.9-1 | DEBIAN-CVE-2026-33939 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 4 more | node-handlebars | no fix listed | UBUNTU-CVE-2026-33939 |
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 rates this Important.
This is an Important denial of service flaw in Handlebars.js affecting applications that compile user-supplied templates without proper error handling. A remote attacker can submit a malformed template containing unregistered decorator syntax, leading to an unhandled `TypeError` and crashing the Node.js process. Red Hat products are vulnerable if they use Handlebars.js in a configuration that allows untrusted input to be compiled at runtime without implementing `try/catch` blocks or input validation.
To mitigate this issue, applications utilizing Handlebars.js should implement robust error handling during template compilation and rendering. Specifically, wrap template compilation and rendering calls in `try/catch` blocks to gracefully handle `TypeError` exceptions. Alternatively, validate user-supplied template input to reject decorator syntax (`{{*...}}`) if decorators are not actively used by the application. Employing a pre-compilation workflow, where templates are compiled at build time and only pre-compiled templates are served, can also prevent runtime exploitation. If the application is a service, a restart may be required for changes to take effect.
| Product | Package | State | Advisory |
|---|---|---|---|
| Cluster Observability Operator 1.5.3 | cluster-observability-operator/logging-console-plugin-pf4-rhel9:1782839279 | Fixed 2026-07-01 | RHSA-2026:34342 |
| Cluster Observability Operator 1.5.3 | cluster-observability-operator/logging-console-plugin-pf5-rhel9:1782840539 | Fixed 2026-07-01 | RHSA-2026:34342 |
| Cluster Observability Operator 1.5.3 | cluster-observability-operator/troubleshooting-panel-console-plugin-pf6-rhel9:1782839996 | Fixed 2026-07-01 | RHSA-2026:34342 |
| Red Hat OpenShift Dev Spaces 3.27 | devspaces/code-rhel9:1776744110 | Fixed 2026-04-23 | RHSA-2026:10175 |
| Cryostat 4 | handlebars | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch6-rhel9 | Will not fix | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-operator-bundle | Will not fix | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-proxy-rhel9 | Will not fix | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch-rhel9-operator | Will not fix | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Will not fix | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-curator5-rhel9 | Will not fix | |
| Red Hat Data Grid 8 | handlebars | Not affected | |
| Red Hat Developer Hub 1 | rhdh/rhdh-hub-rhel9 | Not affected | |
| Red Hat Enterprise Linux 10 | firefox | Not affected | |
| Red Hat Enterprise Linux 10 | thunderbird | Not affected | |
| Red Hat Enterprise Linux 7 | firefox | Not affected | |
| Red Hat Enterprise Linux 8 | 389-ds:1.4/389-ds-base | Will not fix | |
| Red Hat Enterprise Linux 8 | firefox | Not affected | |
| Red Hat Enterprise Linux 8 | grafana | Not affected | |
| Red Hat Enterprise Linux 8 | mozjs60 | Affected | |
| 5 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-33939.