CVE-2026-55865

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductPython-liquid
PublishedJul 9, 2026
First seenJul 9, 2026
Weakness typeCWE-835CWE-835

How to fix

Update
  • python-liquid2.2.1 or later

Affected products

ProductAffected versionsFixed in
python-liquidPyPIv < 2.2.12.2.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.