Vulnerabilities

CVE-2026-63490

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-20
Last modified
2026-10-18
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored by
security-advisories@github.com
Fix available
Not registered in the sources

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1003: OS Credential Dumping credential-access
  • T1039: Data from Network Shared Drive collection
  • T1119: Automated Collection collection
  • T1213: Data from Information Repositories collection
  • T1530: Data from Cloud Storage collection
  • T1552.001: Credentials In Files credential-access
  • T1552.003: Shell History credential-access
  • T1552.004: Private Keys credential-access
  • T1552.006: Group Policy Preferences credential-access
  • T1555: Credentials from Password Stores credential-access
  • T1602: Data from Configuration Repository collection

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities