Read the docs

Path traversal in jknack handlebars.java

Priority MEDIUM 40CWE-24Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Handlebars.java before 4.5.5 allows directory traversal. In handlebars-springmvc 4.5.3 and 4.5.4, the path-containment fix for CVE-2026-63490 validates template locations as raw percent-encoded strings, whereas the template file is opened through a URL handler that percent-decodes the path. In a Spring MVC application with a file: template prefix and a request-derived view name, a percent-encoded traversal such as %2e%2e/ bypasses both the view-resolver check and the loader-side containment and reads files outside the configured template base directory.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00689 52nd percentileScored 2026-11-07
Fix Fixed handlebars.java (jknack): 4.5.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
jknackhandlebars.java4.5.3 to before 4.5.54.5.5Patch availableCNA
  • handlebars.java Vendorjknack Affected 4.5.3 to before 4.5.5 Fixed in 4.5.5 Patch available CNA

Remediation

  • Fix · CNA handlebars.java (jknack) Fixed in 4.5.5

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-103088
  2. 2026-10-03 Alias added: GHSA-2m6h-5wp5-qp66

References

  • TI-2026-45235 Handlebars.java: Arbitrary file read in `SpringTemplateLoader` via URL-fragment suffix bypass CVSS 3.1HIGH 7.5
  • TI-2026-40249 handlebars.java FileTemplateLoader Path Traversal CVSS 3.1HIGH 7.5

Sources