Skip to main content
← All vulnerabilities
CVE-2026-74786GHSA-M2P3-HWV5-XPQW

Scriban before 7.0.0 Denial of Service via Unbounded Template Output

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • scriban scriban

    fixed in 7.0.0

  • ScribanNuGet

    fixed in 7.0.0

  • Scriban.SignedNuGet

    fixed in 7.0.0

References 2

GitHub · scriban/scriban

vulncheck.com