Skip to content
OpenAdvisories
High · 7.5 CVE-2026-55760 EUVD-2026-42352GHSA-r4gv-qr8j-p3pg

handlebars.java FileTemplateLoader Path Traversal

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
jknack handlebars.java < 4.5.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.github.jknack:handlebars < 4.5.2 4.5.2 GHSA-r4gv-qr8j-p3pg

References