Resource exhaustion in Scriban lets attackers bypass LoopLimit
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-770.
Summary
Scriban before 7.6.0 contains a resource exhaustion flaw in object.from_json. JsonElementExtensions materializes large flat JSON arrays or objects without loop checks, which bypasses LoopLimit (CWE-770). A remote attacker without privileges can supply large JSON input, exhausting CPU and memory.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
Scriban before 7.6.0 contains a resource exhaustion vulnerability that allows attackers to bypass LoopLimit by supplying large JSON input to object.from_json. Attackers can pass a flat JSON array or object with hundreds of thousands of elements, which JsonElementExtensions materializes without loop checks, exhausting CPU and memory.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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
Upgrade scriban to version 7.6.0, the fixed version listed for scriban.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA scriban (scriban) Fixed in 7.6.0
- Fix · CNA scriban (scriban) Fixed in 7.6.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
scriban 7.6.0
5 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-98938 Memory exhaustion in Scriban object.to_json enables denial of servicePriority HIGH 77
- TI-2026-98939 Resource exhaustion in Scriban lets template authors exhaust memoryPriority MEDIUM 45
- TI-2026-98940 Memory exhaustion in Scriban via unguarded string and HTML builtinsPriority MEDIUM 40
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137512
- 2026-11-27 Alias added: GHSA-rhjp-567w-f6rh
- 2026-11-30 CISA SSVC decision points changed
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-98938 Memory exhaustion in Scriban object.to_json enables denial of service CVSS 4.0HIGH 8.7
- TI-2026-86800 Resource exhaustion in Scriban templates enables denial of service CVSS 4.0HIGH 8.7
- TI-2026-52558 Scriban before 6.6.0 Denial of Service via Infinite Recursion CVSS 4.0HIGH 8.7
Sources
- CVE-2026-137512 · CVE Program
- CVE-2026-137512 · NVD
- FIRST EPSS
- GHSA-rhjp-567w-f6rh · 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