# CVE-2026-55760: handlebars.java FileTemplateLoader Path Traversal

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 38% of CVEs (2026-11-30)
- Published: 2026-06-17T18:42:09.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-r4gv-qr8j-p3pg
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Handlebars.java provides logic-less and semantic Mustache templates with Java. Prior to 4.5.2, applications that pass user-controlled input to Handlebars.compile() using FileTemplateLoader or ClassPathTemplateLoader are vulnerable to path traversal, allowing arbitrary file read through template names derived from URL path parameters, request parameters, or other user-controlled sources. This issue is fixed in version 4.5.2.

(As written by CVE List.)

## Affected

- jknack handlebars.java: < 4.5.2
- com.github.jknack:handlebars (Maven): before 4.5.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/jknack/handlebars.java/security/advisories/GHSA-r4gv-qr8j-p3pg> (web)
- <https://github.com/jknack/handlebars.java/commit/d177cdee8b750385ca7a0d0f89f2d4be73e28f4e>
- <https://github.com/jknack/handlebars.java/releases/tag/v4.5.2>
- <https://github.com/jknack/handlebars.java> (package)

## Sources

- CVE List: [CVE-2026-55760](https://www.cve.org/CVERecord?id=CVE-2026-55760), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-r4gv-qr8j-p3pg](https://github.com/advisories/GHSA-r4gv-qr8j-p3pg), CC-BY-4.0, modified 2026-06-17
- NVD: [CVE-2026-55760](https://nvd.nist.gov/vuln/detail/CVE-2026-55760), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-55760 · Whole record: https://cve.day/CVE-2026-55760.json · Rebuilt by cve.day 2026-11-25T22:59:27.415Z
