CVE-2026-55760 handlebars.java FileTemplateLoader Path Traversal
Attackers can read arbitrary files by manipulating template names in Handlebars.java applications using FileTemplateLoader or ClassPathTemplateLoader.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-55760?
CVE-2026-55760 is a high-severity path traversal vulnerability in jknack handlebars.java, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Handlebars.java provides logic-less and semantic Mustache templates with Java. Prior to 4.5.2, applications that pass user-controlled input to Handlebars.compile() using FileTemplateLoader or ClassPathTemplateLoader are vulnerable to path traversal, allowing arbitrary file read through template names derived from URL path parameters, request parameters, or other user-controlled sources. This issue is fixed in version 4.5.2.
Weakness: CWE-22
Which versions are affected by CVE-2026-55760?
2 open source packages ship an affected version, including com.github.jknack:handlebars.
| Package | Affected | Fixed in |
|---|---|---|
com.github.jknack:handlebars Maven | All versions | 4.5.2 |
com.github.jknack:handlebars Maven | All versions | 4.5.2 |
How do I fix CVE-2026-55760?
Upgrade com.github.jknack:handlebars to 4.5.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-55760 being exploited?
There is no known exploitation of CVE-2026-55760 in the wild and no public exploit code.
Sources
Also known as ECHO-56c2-4f94-ed4c, GHSA-r4gv-qr8j-p3pg, ROOT-APP-MAVEN-CVE-2026-55760.