PT-2026-51120 · Pypi · Liquido

CVE-2026-55865

·

Published

2026-06-19

·

Updated

2026-07-13

CVSS v4.0

7.1

High

VectorAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Python Liquid versions prior to 2.2.1
Description A denial of service issue exists where the engine hangs in an infinite loop during parse time. This occurs when a malformed {% case %} tag is used without an associated {% when %} or {% else %} block and lacks a terminating {% endcase %} tag. The root cause is that liquid.TokenStream.eof failed to provide the EOF token matching the required kind and value fields.
Recommendations Update to version 2.2.1. As a temporary workaround, manually correct the definition of liquid.TokenStream.eof before parsing templates by setting it to a liquid.Token with TOKEN EOF as both the kind and value.

Exploit

Fix

DoS

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-55865
ECHO-3A95-2E3A-8C10
GHSA-VQ2F-VCC9-J8MV
PYSEC-2026-3035

Affected Products

Liquido