Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-63490— Handlebars.java: Arbitrary file read in `SpringTemplateLoader` via URL-fragment suffix bypass

Quick assessment

Affected
jknack handlebars.java
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Handlebars.java 提供与 Java 集成的无逻辑、语义化的 Mustache 模板功能。在版本 4.5.3 之前,类 通过 Spring ResourceLoader 解析由攻击者控制的 Spring MVC 视图名称时,未采用其他基于 URL 的加载器所使用的路径内容验证(path-containment validation)。 在文件 中,如果视图名称使用 或 URL 协议,并以 片段分隔符结尾,则附加的 后缀会被置于片段部分。随后, 和 方法会丢弃该片段部分,导致文件扩展名未被正确识别。 接着

CVSS 7.5 · High EPSS 0.47% · P39

Affected Version Matrix 1

VendorProduct Version RangeStatus
jknack handlebars.java < 4.5.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-63490

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Handlebars.java: Arbitrary file read in `SpringTemplateLoader` via URL-fragment suffix bypass
Source: CVE Program / CVE List V5
Vulnerability Description
Handlebars.java provides logic-less and semantic Mustache templates with Java. Prior to 4.5.3, com.github.jknack.handlebars.springmvc.SpringTemplateLoader resolves attacker-influenced Spring MVC view names through Spring ResourceLoader without the path-containment validation used by other URL-based loaders. In handlebars-springmvc/src/main/java/com/github/jknack/handlebars/springmvc/SpringTemplateLoader.java, a view name using a file: or classpath: URL and ending with the # fragment delimiter places the appended .hbs suffix in the fragment, which FileUrlResource.exists() and URL.openStream() discard. HandlebarsViewResolver in handlebars-springmvc/src/main/java/com/github/jknack/handlebars/springmvc/HandlebarsViewResolver.java then passes the attacker-controlled name to handlebars.compile(), allowing an unauthenticated remote attacker to read files accessible to the JVM when an application exposes a controller with a user-influenced view name. This issue is fixed in version 4.5.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
jknack handlebars.java < 4.5.3 -

II. Public POCs for CVE-2026-63490

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 10251 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-63490

登录查看更多情报信息。

Patches & Fixes for CVE-2026-63490 (1)

Vendor Advisories for CVE-2026-63490 (1)

Vendor Pages for CVE-2026-63490 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-63490

No comments yet


Leave a comment