CVE Explorer
CVE-2026-55865
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"liquid","vendor":"jg-rp","versions":[{"status":"affected","version":"< 2.2.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8beb64e322330b85c424bcc6829410e827c2ad52804c662e10ea11126fe3c6af · sha256:b24392a9aa07bcec… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":7.1,"baseSeverity":"HIGH","privilegesRequired":"LOW","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8beb64e322330b85c424bcc6829410e827c2ad52804c662e10ea11126fe3c6af · sha256:b24392a9aa07bcec… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-835","description":"CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8beb64e322330b85c424bcc6829410e827c2ad52804c662e10ea11126fe3c6af · sha256:b24392a9aa07bcec… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/jg-rp/liquid/commit/26db8931cf35e8433c1ca506fc32c3bb62f743d4","tags":["x_refsource_MISC"],"url":"https://github.com/jg-rp/liquid/commit/26db8931cf35e8433c1ca506fc32c3bb62f743d4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8beb64e322330b85c424bcc6829410e827c2ad52804c662e10ea11126fe3c6af · sha256:b24392a9aa07bcec… · /containers/cna/references/1
{"name":"https://github.com/jg-rp/liquid/releases/tag/v2.2.1","tags":["x_refsource_MISC"],"url":"https://github.com/jg-rp/liquid/releases/tag/v2.2.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8beb64e322330b85c424bcc6829410e827c2ad52804c662e10ea11126fe3c6af · sha256:b24392a9aa07bcec… · /containers/cna/references/2
{"name":"https://github.com/jg-rp/liquid/security/advisories/GHSA-vq2f-vcc9-j8mv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jg-rp/liquid/security/advisories/GHSA-vq2f-vcc9-j8mv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8beb64e322330b85c424bcc6829410e827c2ad52804c662e10ea11126fe3c6af · sha256:b24392a9aa07bcec… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.