CVE-2026-74789
published high CVSS 4.0 · 8.7Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| scriban | — | scriban0 to < 7.0.0 (affected · semver) · 7.0.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| scriban | scriban | 0 to < 7.0.0 (affected · semver)7.0.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-400 Uncontrolled Resource Consumption
References
2- GitHub Security Advisory (GHSA-c875-h985-hvrc) https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc
- VulnCheck Advisory: Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-in-operations
Provider assertions
2VulnCheck · cna
Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a62abf17711f36845874c96de1e07342756fb7b7c151ddb0e9fb77e277147fc0
- Ingested
- 23 Sep 2026, 09:31:28 UTC
- Source record
- Official CVE record