{"answers":{"affected":"4 open source packages ship an affected version, including com.hubspot.jinjava:jinjava. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-25526 in the wild and no public exploit code.","fix":"Upgrade com.hubspot.jinjava:jinjava to a fixed version for your release line: 2.7.6 or 2.8.3.","what":"CVE-2026-25526 is a critical code injection vulnerability in HubSpot jinjava, published on 4 Feb 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-25526 and fix it if it is affected.\n\nWhat it is: CVE-2026-25526 is a critical code injection vulnerability in HubSpot jinjava, published on 4 Feb 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-25526 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.hubspot.jinjava:jinjava (Maven): affected all versions; fixed in 2.7.6\n- com.hubspot.jinjava:jinjava (Maven): affected all versions; fixed in 2.7.6\n- com.hubspot.jinjava:jinjava (Maven): affected from 2.8.0; fixed in 2.8.3\n- com.hubspot.jinjava:jinjava (Maven): affected from 2.8.0; fixed in 2.8.3\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-25526/ (Markdown: https://insights.sbomify.com/CVE-2026-25526/index.md)","id":"CVE-2026-25526","markdown":"https://insights.sbomify.com/CVE-2026-25526/index.md","name":"CVE-2026-25526","record":{"aliases":["CLEANSTART-2026-ST98100","GHSA-gjx9-j8f8-7j74","MINI-4m2v-j5r3-vrwv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java template engine","requires_auth":"none","summary":"Attackers can execute arbitrary Java code and access files by bypassing sandbox restrictions in the JinJava template engine.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jinjava","vendor":"hubspot"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"description":"JinJava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Prior to versions 2.7.6 and 2.8.3, JinJava is vulnerable to arbitrary Java execution via bypass through ForTag. This allows arbitrary Java class instantiation and file access bypassing built-in sandbox restrictions. This issue has been patched in versions 2.7.6 and 2.8.3.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-02-10","github_poc":1,"max_poc_stars":3,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-02-10T10:24:52Z","kind":"github_poc","ref":"https://github.com/av4nth1ka/jinjava-cve-2026-25526-poc","stars":3,"title":"lab setup + exploits for CVE-2026-25526"}],"tier":"poc_unverified"},"has_fix":true,"headline":"JinJava Bypass through ForTag leads to Arbitrary Java Execution","id":"CVE-2026-25526","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":4,"n_references":5,"next":{"headline":"changedetection.io vulnerable to unauthenticated static path traversal","id":"CVE-2026-25527"},"packages":[{"ecosystem":"Maven","fixed":["2.7.6"],"introduced":["0"],"last_affected":[],"package":"com.hubspot.jinjava:jinjava","purl":null,"source":"GHSA-gjx9-j8f8-7j74"},{"ecosystem":"Maven","fixed":["2.7.6"],"introduced":["0"],"last_affected":[],"package":"com.hubspot.jinjava:jinjava","purl":"pkg:maven/com.hubspot.jinjava/jinjava","source":"GHSA-gjx9-j8f8-7j74"},{"ecosystem":"Maven","fixed":["2.8.3"],"introduced":["2.8.0"],"last_affected":[],"package":"com.hubspot.jinjava:jinjava","purl":null,"source":"GHSA-gjx9-j8f8-7j74"},{"ecosystem":"Maven","fixed":["2.8.3"],"introduced":["2.8.0"],"last_affected":[],"package":"com.hubspot.jinjava:jinjava","purl":"pkg:maven/com.hubspot.jinjava/jinjava","source":"GHSA-gjx9-j8f8-7j74"}],"prev":{"headline":"OpenMage LTS has Path Traversal Filter Bypass in Dataflow Module","id":"CVE-2026-25525"},"products":["jinjava"],"published":"2026-02-04","related":[{"cvss_score":9.8,"headline":"jinjava Sandbox Bypass via JavaType-Based Deserialization","id":"CVE-2025-59340","kev_date_added":null,"published":"2025-09-17"},{"cvss_score":6.5,"headline":"Unauthorized access to Class instance in Jinjava","id":"CVE-2020-12668","kev_date_added":null,"published":"2021-02-19"},{"cvss_score":5.3,"headline":"Jinjava calls getClass","id":"CVE-2018-18893","kev_date_added":null,"published":"2019-01-03"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-05","vendors":["HubSpot"]},"summary":"Attackers can execute arbitrary Java code and access files by bypassing sandbox restrictions in the JinJava template engine.","url":"https://insights.sbomify.com/CVE-2026-25526/"}