CVE-2026-74786

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductScriban
PublishedAug 16, 2026
First seenAug 16, 2026

How to fix

Update
  • Scriban7.0.0 or later
  • Scriban.Signed7.0.0 or later

Affected products

ProductAffected versionsFixed in
ScribanNuGetv < 7.0.07.0.0
Scriban.SignedNuGetv < 7.0.07.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.