CVE-2026-33939
HIGHDescription
Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, when a Handlebars template contains decorator syntax referencing an unregistered decorator (e.g. `{{*n}}`), the compiled template calls `lookupProperty(decorators, "n")`, which returns `undefined`. The runtime then immediately invokes the result as a function, causing an unhandled `TypeError: ... is not a function` that crashes the Node.js process. Any application that compiles user-supplied templates without wrapping the call in a `try/catch` is vulnerable to a single-request Denial of Service. Version 4.7.9 fixes the issue. Some workarounds are available. Wrap compilation and rendering in `try/catch`. Validate template input before passing it to `compile()`; reject templates containing decorator syntax (`{{*...}}`) if decorators are not used in your application. Use the pre-compilation workflow; compile templates at build time and serve only pre-compiled templates; do not call `compile()` at request time.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 54% of all known CVEs.
References
Related Vulnerabilities
Other CWE-754 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2024-4367 | High | 8.8 | 71% | - | Fix |
| CVE-2022-39288 | High | 7.5 | 59% | - | Fix |
| CVE-2023-30591 | High | 7.5 | 59% | - | - |
| CVE-2024-3393 | High | 7.5 | 29% | KEV | Fix |
| CVE-2024-43044 | High | 8.8 | 29% | - | Fix |
| CVE-2023-41993 | High | 8.8 | 24% | KEV | Fix |
Common questions
How do I fix CVE-2026-33939?
Upgrade node-handlebars on debian unstable to 3:4.7.9-1 or later.
Is CVE-2026-33939 being actively exploited?
Not that we know of. CVE-2026-33939 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.76% is the estimated probability that it will be exploited in the next 30 days. That is higher than 54% of all scored CVEs.
How severe is CVE-2026-33939?
CVE-2026-33939 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2026-33939 affect?
Published advisories record a fix for node-handlebars (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2026-33939
Markdown
[](https://tridentstack.com/cve/CVE-2026-33939)HTML
<a href="https://tridentstack.com/cve/CVE-2026-33939"><img src="https://tridentstack.com/cve/badge/CVE-2026-33939.svg" alt="CVE-2026-33939"></a>Check your Linux endpoints for this class of vulnerability
TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-09-04.