RCE in Handlebars-lang Handlebars.js

CVE-2026-33940

Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, a crafted object placed in the template context can bypass all conditional guards in `resolvePartial()` and cause `invokePartia…

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.000 (9.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-33940?
CVE-2026-33940 is a high-severity vulnerability in Handlebars-lang Handlebars.js, classified under Code Injection. CVSS score: 8.1/10. Published 2026-03-27.
How severe is CVE-2026-33940?
High severity. CVSS v3 base score is 8.1 out of 10.