{"answers":{"affected":"3 open source packages ship an affected version, including python-liquid.","exploited":"There is no known exploitation of CVE-2026-55865 in the wild and no public exploit code.","fix":"Upgrade python-liquid to 2.2.1 or later.","what":"CVE-2026-55865 is a high-severity denial of service vulnerability in jg-rp liquid, published on 9 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-55865 and fix it if it is affected.\n\nWhat it is: CVE-2026-55865 is a high-severity denial of service vulnerability in jg-rp liquid, published on 9 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-55865 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- python-liquid (PyPI): affected all versions; fixed in 2.2.1\n- python-liquid (PyPI): affected all versions; fixed in 2.2.1\n- python-liquid (PyPI): affected all versions; fixed in 2.2.1\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-55865/ (Markdown: https://insights.sbomify.com/CVE-2026-55865/index.md)","id":"CVE-2026-55865","markdown":"https://insights.sbomify.com/CVE-2026-55865/index.md","name":"CVE-2026-55865","record":{"aliases":["ECHO-3a95-2e3a-8c10","GHSA-vq2f-vcc9-j8mv","PYSEC-2026-3035"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python Liquid template engine","requires_auth":"low_privilege","summary":"Malformed Liquid template tags cause an infinite loop during parsing, allowing attackers to trigger a denial of service in applications using the library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"Python Liquid is a Python engine for the Liquid template language. Prior to 2.2.1, given a malformed {% case %} tag without an associated {% when %} or {% else %} block and no terminating {% endcase %} tag, Python Liquid hangs in an infinite loop at parse time because liquid.TokenStream.eof did not give the EOF token matching kind and value fields, allowing malicious template authors to craft templates for a denial of service attack. This issue is fixed in version 2.2.1.","ecosystems":["PyPI"],"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":"Python Liquid: Infinite loop when parsing malformed `{% case %}` tags","id":"CVE-2026-55865","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected","id":"CVE-2026-55866"},"packages":[{"ecosystem":"PyPI","fixed":["2.2.1"],"introduced":["0"],"last_affected":[],"package":"python-liquid","purl":null,"source":"GHSA-vq2f-vcc9-j8mv"},{"ecosystem":"PyPI","fixed":["2.2.1"],"introduced":["0"],"last_affected":[],"package":"python-liquid","purl":"pkg:pypi/python-liquid","source":"GHSA-vq2f-vcc9-j8mv"},{"ecosystem":"PyPI","fixed":["2.2.1"],"introduced":["0"],"last_affected":[],"package":"python-liquid","purl":"pkg:pypi/python-liquid","source":"PYSEC-2026-3035"}],"prev":{"headline":"GeoNetwork: Unauthenticaded Server-Side Request Forgery in SLD Tool","id":"CVE-2026-55864"},"products":["liquid"],"published":"2026-07-09","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":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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-14","vendors":["jg-rp"]},"summary":"Malformed Liquid template tags cause an infinite loop during parsing, allowing attackers to trigger a denial of service in applications using the library.","url":"https://insights.sbomify.com/CVE-2026-55865/"}