CVE-2026-55865 HIGH

CVE-2026-55865: Python Liquid: Infinite loop when parsing malformed `{% case %}` tags

Vendor Jg-Rp
Product liquid
Weakness CWE-835
Published July 9, 2026
Last update July 14, 2026

CVSS base score

7.1/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 9, 2026 CVE published
July 14, 2026 Record updated