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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-74786— Scriban before 7.0.0 Denial of Service via Unbounded Template Output

Quick assessment

Affected
scriban scriban
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.

scriban是scriban组织的一款高性能的文本模板引擎。 scriban 6.6.0及之前版本存在资源管理错误漏洞,该漏洞源于LimitToString安全限制(默认1MB)可被绕过,由于ObjectToString在每次顶层调用时重置长度计数器且StringBuilderOutput未设置累计输出大小限制,可能导致攻击者通过提供模板循环渲染接近限制的字符串,分配约1GB内存,导致内存不足崩溃。

CVSS 6.5 · Medium EPSS 0.48% · P39

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

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-74786

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 Denial of Service via Unbounded Template Output
Source: CVE Program / CVE List V5
Vulnerability Description
Scriban before 7.0.0 (affected versions <= 6.6.0) contains a denial-of-service vulnerability in which the LimitToString safety limit (default 1MB) can be bypassed because ObjectToString resets the per-call length counter (_currentToStringLength) on every top-level call and StringBuilderOutput enforces no cumulative output-size limit. An attacker who can supply a template can render a near-limit string repeatedly in a loop, allocating approximately 1GB of memory and causing an out-of-memory condition that crashes the host application.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/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 6.6.0及之前版本存在资源管理错误漏洞,该漏洞源于LimitToString安全限制(默认1MB)可被绕过,由于ObjectToString在每次顶层调用时重置长度计数器且StringBuilderOutput未设置累计输出大小限制,可能导致攻击者通过提供模板循环渲染接近限制的字符串,分配约1GB内存,导致内存不足崩溃。
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-74786

# 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-74786

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

Vendor Advisories for CVE-2026-74786 (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-74789 7.5 HIGH Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations
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

IV. Related Vulnerabilities

V. Comments for CVE-2026-74786

No comments yet


Leave a comment