{"answers":{"affected":"2 open source packages ship an affected version, including com.github.jknack:handlebars.","exploited":"There is no known exploitation of CVE-2026-55760 in the wild and no public exploit code.","fix":"Upgrade com.github.jknack:handlebars to 4.5.2 or later.","what":"CVE-2026-55760 is a high-severity path traversal vulnerability in jknack handlebars.java, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55760 and fix it if it is affected.\n\nWhat it is: CVE-2026-55760 is a high-severity path traversal vulnerability in jknack handlebars.java, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-55760 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.github.jknack:handlebars (Maven): affected all versions; fixed in 4.5.2\n- com.github.jknack:handlebars (Maven): affected all versions; fixed in 4.5.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-55760/ (Markdown: https://insights.sbomify.com/CVE-2026-55760/index.md)","id":"CVE-2026-55760","markdown":"https://insights.sbomify.com/CVE-2026-55760/index.md","name":"CVE-2026-55760","record":{"aliases":["ECHO-56c2-4f94-ed4c","GHSA-r4gv-qr8j-p3pg","ROOT-APP-MAVEN-CVE-2026-55760"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java template library","requires_auth":"none","summary":"Attackers can read arbitrary files by manipulating template names in Handlebars.java applications using FileTemplateLoader or ClassPathTemplateLoader.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"handlebars.java FileTemplateLoader Path Traversal","id":"CVE-2026-55760","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Portainer: Unauthenticated Restore Endpoint Allows Admin Takeover on Uninitialised Portainer Instances","id":"CVE-2026-55761"},"packages":[{"ecosystem":"Maven","fixed":["4.5.2"],"introduced":["0"],"last_affected":[],"package":"com.github.jknack:handlebars","purl":null,"source":"GHSA-r4gv-qr8j-p3pg"},{"ecosystem":"Maven","fixed":["4.5.2"],"introduced":["0"],"last_affected":[],"package":"com.github.jknack:handlebars","purl":"pkg:maven/com.github.jknack/handlebars","source":"GHSA-r4gv-qr8j-p3pg"}],"prev":{"headline":"Rocket.Chat: Apple Sign-In skips JWT claims validation, allowing expired and cross-audience token replay","id":"CVE-2026-55759"},"products":["handlebars.java"],"published":"2026-07-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["jknack"]},"summary":"Attackers can read arbitrary files by manipulating template names in Handlebars.java applications using FileTemplateLoader or ClassPathTemplateLoader.","url":"https://insights.sbomify.com/CVE-2026-55760/"}