Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-103088
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 07:45 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-103088
Complete source record
{
"id": "f5d3daf6104741c59049706d9fab167df1e4407be2533ffec2a6e53813588cac",
"url": "https://osv.dev/vulnerability/CVE-2026-103088",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-103088",
"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.",
"evidence": "osv:CVE-2026-103088",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-103088",
"aliases": [
"CVE-2026-103088",
"GHSA-pvrx-3g7m-fpgv"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jknack/handlebars.java",
"type": "GIT",
"events": [
{
"introduced": "a733ae1e2b3b24d3857bd4cfff080130d777bdc7"
},
{
"fixed": "f6ae3979917d05bef07f00befb4013ef00503660"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "4.5.3"
},
{
"fixed": "4.5.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "f6ae3979917d05bef07f00befb4013ef00503660"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "f6ae3979917d05bef07f00befb4013ef00503660"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v4.5.5"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.5.5"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v4.5.4",
"v4.5.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-103088.json"
}
}
],
"modified": "2026-10-28T02:30:34.007827219Z",
"provider": "osv",
"references": [
"https://github.com/jknack/handlebars.java/releases/tag/v4.5.5",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103088.json",
"https://github.com/jknack/handlebars.java/security/advisories/GHSA-pvrx-3g7m-fpgv",
"https://nvd.nist.gov/vuln/detail/CVE-2026-103088",
"https://github.com/jknack/handlebars.java/commit/f6ae3979917d05bef07f00befb4013ef00503660",
"https://github.com/jknack/handlebars.java"
],
"provider_metadata": {
"cwe_ids": [
"CWE-24"
],
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/103xxx/CVE-2026-103088.json"
}
},
"related_cves": [
{
"value": "CVE-2026-103088",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500937,
"published_at": "2026-09-30T00:55:19.94+00:00"
}