CVE-2026-103088: CWE-24 Path Traversal: '../filedir' in jknack handlebars.java
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.
AI Analysis
Technical Summary
CVE-2026-103088 is a directory traversal vulnerability in handlebars.java before version 4.5.5. Specifically, in handlebars-springmvc versions 4.5.3 and 4.5.4, the fix for a previous vulnerability (CVE-2026-63490) incorrectly validates template locations as raw percent-encoded strings, while the template file is accessed through a URL handler that percent-decodes the path. This discrepancy allows an attacker to use percent-encoded traversal sequences (e.g., %2e%2e/) to bypass both the view-resolver and loader-side containment checks, enabling reading of files outside the configured template base directory in Spring MVC applications using a file: template prefix and request-derived view names.
Potential Impact
An attacker can read arbitrary files outside the configured template base directory, potentially exposing sensitive information. The vulnerability does not allow code execution or denial of service but compromises confidentiality by unauthorized file access.
Mitigation Recommendations
Upgrade handlebars.java to version 4.5.5 or later, where this directory traversal vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
CVE-2026-103088: CWE-24 Path Traversal: '../filedir' in jknack handlebars.java
Description
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.
CVSS v3.1
Score 7.5high
Affected software
jknack
handlebars.java
pkg:github/handlebars.javaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-103088 is a directory traversal vulnerability in handlebars.java before version 4.5.5. Specifically, in handlebars-springmvc versions 4.5.3 and 4.5.4, the fix for a previous vulnerability (CVE-2026-63490) incorrectly validates template locations as raw percent-encoded strings, while the template file is accessed through a URL handler that percent-decodes the path. This discrepancy allows an attacker to use percent-encoded traversal sequences (e.g., %2e%2e/) to bypass both the view-resolver and loader-side containment checks, enabling reading of files outside the configured template base directory in Spring MVC applications using a file: template prefix and request-derived view names.
Potential Impact
An attacker can read arbitrary files outside the configured template base directory, potentially exposing sensitive information. The vulnerability does not allow code execution or denial of service but compromises confidentiality by unauthorized file access.
Mitigation Recommendations
Upgrade handlebars.java to version 4.5.5 or later, where this directory traversal vulnerability is fixed. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-09-30T00:55:19.173Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abc6432680226ef68a1b827
Added to database: 09/30/2026, 01:21:54 UTC
Last enriched: 09/30/2026, 01:26:31 UTC
Last updated: 09/30/2026, 02:20:26 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.