Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-400.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA scriban (scriban) Fixed in 7.0.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
scriban 7.0.0
8 records Highest priority Priority HIGH 5 HIGH, 3 MEDIUM
Other records, highest priority first
- TI-2026-52554 Scriban before 7.0.0 MemberFilter Bypass via TemplateContext CachePriority HIGH 81
- TI-2026-52555 Scriban before 7.0.0 Authorization Bypass via Stale Include CachePriority HIGH 79
- TI-2026-52556 Scriban before 7.0.0 Stack Overflow via nested array initializersPriority HIGH 77
Timeline
- 2026-10-02 Threatist record created from CVE-2026-74789
- 2026-10-03 Alias added: GHSA-5vwr-vwx4-9hc3
References
More scriban vulnerabilities
- TI-2026-52554 Scriban before 7.0.0 MemberFilter Bypass via TemplateContext Cache CVSS 4.0CRITICAL 9.3
- TI-2026-51270 Scriban before 7.2.2 Arbitrary Property Write via TypedObjectAccessor CVSS 4.0CRITICAL 9.3
- TI-2026-52555 Scriban before 7.0.0 Authorization Bypass via Stale Include Cache CVSS 4.0CRITICAL 9.2
- TI-2026-52558 Scriban before 6.6.0 Denial of Service via Infinite Recursion CVSS 4.0HIGH 8.7
- TI-2026-52556 Scriban before 7.0.0 Stack Overflow via nested array initializers CVSS 4.0HIGH 8.7
- TI-2026-52552 Scriban before 7.0.0 Denial of Service via string.pad_left/pad_right CVSS 4.0HIGH 8.7
Sources
- CVE-2026-74789 · CVE Program
- CVE-2026-74789 · NVD
- FIRST EPSS
- GHSA-5vwr-vwx4-9hc3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences