Vulnerability · Published Jul 8, 2026 · Assigned by GitHub_M

CVE-2026-55760handlebars.java FileTemplateLoader Path Traversal

High 7.5

In plain English

A high-severity path traversal in handlebars.java from jknack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 55.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.github.jknack:handlebars4.5.2GHSA-r4gv-qr8j-p3pg

Affected products (as reported)

VendorProductVersions
jknack handlebars.java < 4.5.2

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References