Resource exhaustion in Scriban lets template authors exhaust memory
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.6.0 contains uncontrolled resource consumption (CWE-400) that lets template authors bypass LimitToString. A small template can make ScriptObject.ToString concatenate large member values without length tracking, allocating multi-gigabyte strings and exhausting memory. The flaw is reachable over the network with no privileges or user interaction.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
Scriban before 7.6.0 contains a resource exhaustion vulnerability that allows template authors to bypass LimitToString by rendering a ScriptObject with many members. Attackers can supply a small template whose ScriptObject.ToString concatenates large member values without length tracking, allocating multi-gigabyte strings and causing memory exhaustion.
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
Scriban version 7.6.0 fixes the flaw, so upgrade scriban from versions before 7.6.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- 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-98942 Resource exhaustion in Scriban lets attackers bypass LoopLimitPriority HIGH 77
- TI-2026-98938 Memory exhaustion in Scriban object.to_json enables denial of servicePriority HIGH 77
- 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-137509
- 2026-11-27 Alias added: GHSA-c27c-7jmr-mfmg
- 2026-11-27 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-98942 Resource exhaustion in Scriban lets attackers bypass LoopLimit CVSS 4.0HIGH 8.7
- 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
Sources
- CVE-2026-137509 · CVE Program
- CVE-2026-137509 · NVD
- FIRST EPSS
- GHSA-c27c-7jmr-mfmg · 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