Denial of Service Vulnerability in Scriban Template Engine from Scriban
CVE-2026-74789

8.7HIGH

Key Information:

Vendor

Scriban

Status
Vendor
CVE Published:
16 August 2026

What is CVE-2026-74789?

The Scriban Template Engine, versions 6.6.0 and earlier, is vulnerable due to a flaw in its LoopLimit constraint implementation. This vulnerability allows for excessive CPU and memory consumption when executing certain built-in operations, despite the LoopLimit being set to a minimal value. Specifically, expressions that involve large iterations, like {{ 1..1000000 | array.size }}, or memory-intensive expressions, such as {{ 'A' * 200000000 }}, can lead to a denial of service. Applications using Scriban for rendering templates, particularly those that permit user-controlled input, are at risk as they may not adequately mitigate these heavy resource demands.

Affected Version(s)

scriban 0 < 7.0.0

scriban 7.0.0

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Zwique
.