CVSS 3.1
8.2 highCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:HHigh (8.2) in handlebarsjs handlebars. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in handlebars 4.7.9.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:Hhandlebars (npm): fixed in 4.7.9Explain CVE-2026-33941 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33941?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33941?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-33941 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-xjpj-3mr7-gcpf | 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-33941 |
| Debian | 14 | node-handlebars | 3:4.7.9-1 | DEBIAN-CVE-2026-33941 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 4 more | node-handlebars | no fix listed | UBUNTU-CVE-2026-33941 |
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.
Important: This flaw in Handlebars allows arbitrary code execution when the CLI precompiler processes untrusted inputs. An attacker who can influence template filenames or command-line arguments can inject malicious JavaScript, which executes when the generated bundle is loaded. Red Hat products utilizing the Handlebars CLI precompiler in environments where untrusted inputs are processed may be affected.
To mitigate this issue, ensure all inputs to the Handlebars CLI precompiler are thoroughly validated, rejecting characters with JavaScript string-escaping significance (e.g., \" , \' , ;). For automated build pipelines, configure a fixed and trusted namespace string via a configuration file rather than passing it through command-line arguments. Additionally, consider running the precompiler within a sandboxed environment, such as a container with restricted write access, to limit the potential impact of successful exploitation.
| 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 | 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 | Not 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-33941.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-79.