Home

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.

PUBLISHED Reserved 2026-06-17 | Published 2026-07-08 | Updated 2026-07-09 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

< 4.5.2
affected

References

github.com/...s.java/security/advisories/GHSA-r4gv-qr8j-p3pg

github.com/...ommit/d177cdee8b750385ca7a0d0f89f2d4be73e28f4e

github.com/jknack/handlebars.java/releases/tag/v4.5.2

cve.org (CVE-2026-55760)

nvd.nist.gov (CVE-2026-55760)

Download JSON