Loading advisory.
Loading advisory.
Remote code execution in handlebars when compiling templates
The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.
Published 2021-04-12 13:10 UTC · Modified 2026-10-08 21:13 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| handlebars | npm | < 4.7.7 | 4.7.7 | npm install handlebars@4.7.7 |
| org.webjars:handlebars | Maven | < 4.7.7 versions 1.0.0, 1.0.0-rc.3, 1.0.0-rc.4, 1.0.rc.1, 1.1.2, 1.2.1, 1.3.0, 2.0.0, 2.0.0-1, 2.0.0-alpha.2, 3.0.0, 3.0.0-1, 3.0.3, 4.0.11, 4.0.11-1, 4.0.13, 4.0.14, 4.0.2, 4.0.5, 4.0.6 and 1 more | 4.7.7 | No single command for Maven. Update to 4.7.7 in your build file. |
| org.webjars.npm:handlebars | Maven | < 4.7.7 versions 1.3.0, 2.0.0, 3.0.0, 3.0.1, 3.0.3, 4.0.11, 4.0.12, 4.0.14, 4.0.2, 4.0.5, 4.0.6, 4.1.1, 4.1.2, 4.2.1, 4.3.1, 4.4.0, 4.4.5, 4.5.3, 4.7.2, 4.7.3 and 1 more | 4.7.7 | No single command for Maven. Update to 4.7.7 in your build file. |
| org.webjars.bowergithub.wycats:handlebars.js | Maven | < 4.7.7 versions 4.1.1, 4.2.0, 4.4.5, 4.5.3, 4.7.2 | 4.7.7 | No single command for Maven. Update to 4.7.7 in your build file. |
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
One EPSS score on record: 0.070 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.070 | first score | v2026.06.15 |