CVE-2026-55760
Handlebars.java provides logic-less and semantic Mustache templates …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jknack/handlebars.java/security/advisories/GHSA-r4gv-qr8j-p3pg
- github.com/advisories/GHSA-r4gv-qr8j-p3pg
- github.com/jknack/handlebars.java/commit/d177cdee8b750385ca7a0d0f89f2d4be73e28f4e
- github.com/jknack/handlebars.java/releases/tag/v4.5.2
- nvd.nist.gov/vuln/detail/CVE-2026-55760
- cve.org/CVERecord?id=CVE-2026-55760
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.