← CVE Radar
CVE-2026-55865Python Liquid: Infinite loop when parsing malformed `{% case %}` tags
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.
7.1 HIGHEPSS 0.45%Not in KEVNVD: Deferred
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 7.1 | HIGH | 4.0GitHub_M (CNA) | 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 |
Details
- CVE ID
- CVE-2026-55865
- Status
- Deferred
- Assigner (CNA)
- GitHub_M
- Published
- Jul 9, 2026
- Last modified
- 2026-10-25 17:10 UTC
- Weaknesses
- CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
Affected Products
As published by the CNA in the CVE record.
jg-rpliquid1 version range
- < 2.2.1