Skip to main content

CVE-2026-103088: CWE-24 Path Traversal: '../filedir' in jknack handlebars.java

0
High
VulnerabilityCVE-2026-103088cvecve-2026-103088cwe-24
Published: 09/30/2026 (09/30/2026, 00:55:19 UTC)
Source: CVE Database V5
Vendor/Project: jknack
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

jknack

handlebars.java

Affected versions
>=4.5.3 <4.5.5
GitHub Actionsmore threats →cve
handlebars.java
pkg:github/handlebars.java
Affected versions
>=4.5.3 <4.5.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/30/2026, 01:26:31 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses