CVE-2026-74789
HIGH 8.7CVSS 4.0Scriban: Built-in operations bypass LoopLimit and delay cancellation, enabling Denial of Service
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.
- Published
- 16 Aug 2026
- Last modified
- 31 Aug 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-c875-h985-hvrc
- Sources
- NVDJSONOSV GHSA-c875-h985-hvrcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | NuGet | scriban | < 7.0.0 | 7.0.0 |
| OSV | NuGet | Scriban.Signed | < 7.0.0 | 7.0.0 |
References
- https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc · WEB
- https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-in-operations
- https://github.com/scriban/scriban · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 16 Aug 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Mar 2026)