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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-74789— Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations

Quick assessment

Affected
scriban scriban
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

scriban是scriban组织的一款高性能的文本模板引擎。 scriban 7.0.0之前版本存在资源管理错误漏洞,该漏洞源于LoopLimit约束仅应用于脚本循环语句而未应用于内置运算符和函数中的昂贵迭代,可能导致应用程序在渲染攻击者控制的模板时消耗大量CPU或内存,造成拒绝服务。

CVSS 7.5 · High EPSS 0.34% · P27

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 2

VendorProduct Version RangeStatus
scriban scriban < 7.0.0 affected
7.0.0 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-74789

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
Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations
Source: CVE Program / CVE List V5
Vulnerability Description
Scriban before 7.0.0 (affected <= 6.6.0) applies its LoopLimit constraint only to script loop statements and not to expensive iteration performed inside built-in operators and functions. As a result, a single expression such as {{ 1..1000000 | array.size }} — or a memory-amplification expression such as {{ 'A' * 200000000 }} — can force large CPU or memory consumption even when LoopLimit is configured to a very small value, resulting in denial of service. Applications that render attacker-controlled templates and rely on LoopLimit for safe execution are affected.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
scriban 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
scriban是scriban组织的一款高性能的文本模板引擎。 scriban 7.0.0之前版本存在资源管理错误漏洞,该漏洞源于LoopLimit约束仅应用于脚本循环语句而未应用于内置运算符和函数中的昂贵迭代,可能导致应用程序在渲染攻击者控制的模板时消耗大量CPU或内存,造成拒绝服务。
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
scriban scriban 0 ~ 7.0.0 -

II. Public POCs for CVE-2026-74789

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7833 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-74789

登录查看更多情报信息。

Vendor Advisories for CVE-2026-74789 (2)

Same Patch Batch · scriban · 2026-08-16 · 15 CVEs total

CVE-2026-73061 9.8 CRITICAL Scriban before 7.2.2 Arbitrary Property Write via TypedObjectAccessor
CVE-2026-74790 9.1 CRITICAL Scriban before 7.0.0 MemberFilter Bypass via TemplateContext Cache
CVE-2026-74784 8.7 HIGH Scriban before 7.2.0 Denial of Service via array.insert_at
CVE-2026-74791 8.6 HIGH Scriban before 7.0.0 Authorization Bypass via Stale Include Cache
CVE-2026-74792 7.5 HIGH Scriban before 7.0.0 Stack Overflow via nested array initializers
CVE-2026-74783 7.5 HIGH Scriban 6.6.0 through 7.2.0 Parser Recursion Denial of Service
CVE-2026-74788 7.5 HIGH Scriban before 7.0.0 Denial of Service via string.pad_left/pad_right
CVE-2026-74795 7.5 HIGH Scriban before 6.6.0 Denial of Service via Uncontrolled Recursion
CVE-2026-74787 7.5 HIGH Scriban before 7.0.0 Uncontrolled Recursion via object.to_json
CVE-2026-74794 7.5 HIGH Scriban before 6.6.0 Denial of Service via Infinite Recursion
CVE-2026-73062 7.5 HIGH Scriban 3.0.0 through 7.2.0 Denial of Service via Array Multiplication
CVE-2026-73060 7.5 HIGH Scriban 3.0.0 through 7.2.5 Denial of Service via ScriptRange.Multiply
CVE-2026-74785 6.5 MEDIUM Scriban before 7.0.0 Denial of Service via Unbounded Resource Consumption
CVE-2026-74786 6.5 MEDIUM Scriban before 7.0.0 Denial of Service via Unbounded Template Output

IV. Related Vulnerabilities

V. Comments for CVE-2026-74789

No comments yet


Leave a comment