Resource exhaustion in Scriban templates enables denial of service
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.5.3 has a resource exhaustion flaw (CWE-400) because builtins such as math.format skip the allocation guard that limits string size. An untrusted template author can submit small templates that exhaust memory and CPU, crashing or stalling multi-tenant hosts.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
Description from the CNA
Scriban before 7.5.3 contains a resource exhaustion vulnerability that allows untrusted template authors to exhaust memory and CPU because builtins like math.format, regex.replace and string.escape skip the LimitToString allocation guard. Attackers can submit small templates using huge format precision specifiers, shared-structure array comparison, BigInteger multiplication or exponential function recursion that ignore LoopLimit and CancellationToken, crashing or stalling multi-tenant hosts.
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.5.3, the fixed version listed for the scriban product.
Written with Claude Haiku 5.5 from the sources below · 2026-11-13
- Fix · CNA scriban (scriban) Fixed in 7.5.3
- Fix · CNA scriban (scriban) Fixed in 7.5.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
scriban 7.5.3
2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM
Other records, highest priority first
- TI-2026-86802 Uncontrolled recursion in Scriban lets templates crash the host processPriority MEDIUM 44
Timeline
- 2026-11-08 Threatist record created from CVE-2026-124437
- 2026-11-08 Alias added: GHSA-33xx-p3r3-5jv7
- 2026-11-10 Priority changed: MEDIUM → LOW
- 2026-11-13 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-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-124437 · CVE Program
- CVE-2026-124437 · NVD
- FIRST EPSS
- GHSA-33xx-p3r3-5jv7 · 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