Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
jg-rp liquid
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

jg-rp liquid是jg-rp的流式编程框架。 jg-rp liquid 2.2.1之前版本存在资源管理错误漏洞,该漏洞源于liquid.TokenStream.eof未正确返回EOF令牌,导致畸形{% case %}标签在解析时进入无限循环,允许恶意模板作者构造模板发起拒绝服务攻击。

AI Predicted 7.5 Difficulty: Easy EPSS 0.45% · P37

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 1

VendorProduct Version RangeStatus
jg-rp liquid < 2.2.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55865

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Python Liquid: Infinite loop when parsing malformed `{% case %}` tags
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5
Vulnerability Title
jg-rp liquid 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
jg-rp liquid是jg-rp的流式编程框架。 jg-rp liquid 2.2.1之前版本存在资源管理错误漏洞,该漏洞源于liquid.TokenStream.eof未正确返回EOF令牌,导致畸形{% case %}标签在解析时进入无限循环,允许恶意模板作者构造模板发起拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jg-rp liquid < 2.2.1 -

II. Public POCs for CVE-2026-55865

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55865

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-55865 (2)

Vendor Advisories for CVE-2026-55865 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55865

No comments yet


Leave a comment