CVE-2026-74789 json
Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations
published 2026-03-24 7 mo ago modified 2026-08-31 2 mo ago also GHSA-c875-h985-hvrc , EUVD-2026-59955
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget scriban 7.0.0
- nuget Scriban.Signed 7.0.0
- scriban scriban 7.0.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | scriban | <7.0.0 |
7.0.0 |
| nuget | Scriban.Signed | <7.0.0 |
7.0.0 |
Affected products
- scriban scriban
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc
vendor-advisory, web
-
vulncheck.com
/advisories/scriban-before-looplimit-bypass-via-built-in-operations
third-party-advisory
-
github.com
/scriban/scriban
package
Sources
- CVE List CVE-2026-74789
- GitHub Advisory GHSA-c875-h985-hvrc
- NVD CVE-2026-74789
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.