CVE-2026-74786

published 16 Aug 2026 · updated 17 Aug 2026

Scriban before 7.0.0 Denial of Service via Unbounded Template Output

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 7.0.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
scriban<7.0.07.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-74786 severity on Zeptric[![CVE-2026-74786](https://zeptric.io/badge/cve/CVE-2026-74786.svg)](https://zeptric.io/cve/CVE-2026-74786)