CVE Catalog

CVE-2026-55865

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.45%

36th percentile - higher than 36% of all known CVEs

Summary

Python Liquid prior to version 2.2.1 contains a vulnerability that causes an infinite loop during parsing of malformed {% case %} tags without corresponding {% when %}, {% else %}, or {% endcase %} blocks. The issue arises because liquid.TokenStream.eof does not return an EOF token with matching kind and value fields, enabling a denial of service attack.

Risk Assessment

The organization is at risk of a Denial of Service (DoS) attack where a malicious template author can craft a Liquid template that hangs the parser indefinitely, potentially causing application unavailability.

Recommendation

Immediately upgrade Python Liquid to version 2.2.1 or later. If upgrading is not possible, restrict template creation to trusted users only.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS