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

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-01)
- Published: 2026-03-24T22:13:08.000Z
- Modified: 2026-08-31T20:30:14.457Z
- Also known as: GHSA-c875-h985-hvrc
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- scriban scriban: before 7.0.0 (not affected: 7.0.0)
- scriban (NuGet): before 7.0.0
- Scriban.Signed (NuGet): before 7.0.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-in-operations> (third-party-advisory)
- <https://github.com/scriban/scriban> (package)

## Sources

- CVE List: [CVE-2026-74789](https://www.cve.org/CVERecord?id=CVE-2026-74789), CVE Terms of Use, modified 2026-08-17
- GitHub Advisory Database: [GHSA-c875-h985-hvrc](https://github.com/advisories/GHSA-c875-h985-hvrc), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-74789](https://nvd.nist.gov/vuln/detail/CVE-2026-74789), Public domain, modified 2026-08-31

---

Page: https://cve.day/CVE-2026-74789 · Whole record: https://cve.day/CVE-2026-74789.json · Rebuilt by cve.day 2026-11-25T22:59:33.307Z
