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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-74788— Scriban before 7.0.0 Denial of Service via string.pad_left/pad_right

CVSS 7.5 · High

Affected Version Matrix 2

VendorProductVersion RangeStatus
scribanscriban< 7.0.0affected
7.0.0unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-74788

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 string.pad_left/pad_right
Source: CVE Program / CVE List V5
Vulnerability Description
Scriban before 7.0.0 (affected versions <= 6.6.0) contains an uncontrolled memory allocation vulnerability in the string.pad_left and string.pad_right template functions, which perform no validation on the width parameter before delegating to .NET's String.PadLeft/PadRight. When an application exposes Scriban to untrusted template input, an attacker can supply an arbitrarily large width value (e.g., 500,000,000) to trigger ~1GB memory allocations in a single call, resulting in OutOfMemoryException and denial of service. The TemplateContext.LimitToString limit does not prevent this because it is only enforced after the string has been fully allocated.
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

Affected Products

VendorProductAffected VersionsCPESubscribe
scribanscriban 0 ~ 7.0.0 -

II. Public POCs for CVE-2026-74788

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 7700 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-74788

登录查看更多情报信息。

Vendor Advisories for CVE-2026-74788 (2)

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

CVE-2026-730619.8 CRITICALScriban before 7.2.2 Arbitrary Property Write via TypedObjectAccessor
CVE-2026-747909.1 CRITICALScriban before 7.0.0 MemberFilter Bypass via TemplateContext Cache
CVE-2026-747848.7 HIGHScriban before 7.2.0 Denial of Service via array.insert_at
CVE-2026-747918.6 HIGHScriban before 7.0.0 Authorization Bypass via Stale Include Cache
CVE-2026-747927.5 HIGHScriban before 7.0.0 Stack Overflow via nested array initializers
CVE-2026-747837.5 HIGHScriban 6.6.0 through 7.2.0 Parser Recursion Denial of Service
CVE-2026-747957.5 HIGHScriban before 6.6.0 Denial of Service via Uncontrolled Recursion
CVE-2026-747877.5 HIGHScriban before 7.0.0 Uncontrolled Recursion via object.to_json
CVE-2026-747947.5 HIGHScriban before 6.6.0 Denial of Service via Infinite Recursion
CVE-2026-747897.5 HIGHScriban before 7.0.0 LoopLimit Bypass via Built-in Operations
CVE-2026-730627.5 HIGHScriban 3.0.0 through 7.2.0 Denial of Service via Array Multiplication
CVE-2026-730607.5 HIGHScriban 3.0.0 through 7.2.5 Denial of Service via ScriptRange.Multiply
CVE-2026-747856.5 MEDIUMScriban before 7.0.0 Denial of Service via Unbounded Resource Consumption
CVE-2026-747866.5 MEDIUMScriban before 7.0.0 Denial of Service via Unbounded Template Output

IV. Related Vulnerabilities

V. Comments for CVE-2026-74788

No comments yet


Leave a comment