Path traversal in jknack handlebars.java
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
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
Remediation
- Fix · CNA handlebars.java (jknack) Fixed in 4.5.5
Timeline
- 2026-10-02 Threatist record created from CVE-2026-103088
- 2026-10-03 Alias added: GHSA-2m6h-5wp5-qp66
References
More jknack vulnerabilities
- 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
- CVE-2026-103088 · CVE Program
- CVE-2026-103088 · NVD
- FIRST EPSS
- GHSA-2m6h-5wp5-qp66 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences