High, CVSS 7.5MavenPublished
handlebars.java FileTemplateLoader Path Traversal
CVE-2026-55760 · GHSA-r4gv-qr8j-p3pg
- Affected
- Maven com.github.jknack:handlebars < 4.5.2
- Fixed in
- 4.5.2· Vendor fix available
- Issue
- Impact Any application that passes user-controlled input to Handlebars.compile() using a FileTemplateLoader (or ClassPathTemplateLoader) is vulnerable to arbitrary file read. This is a realistic attack surface for web applications that use template names from URL path parameters, request parameters, or other user-controlled sources. Patches com.github.jknack:handlebars:4.5.2 Workarounds Validate template name is derived from user input.
Recommended action: Upgrade to 4.5.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.