Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › scriban

High 8.7 5 CVEs Analysis

Scriban batch: five flaws before 7.6.0 allow memory and CPU exhaustion and cross-render state leaks

NVD published five Scriban vulnerabilities on 2026-11-26, all affecting versions before 7.6.0. Four are resource exhaustion flaws that let a template author drive excessive memory or CPU use, and one is a state isolation flaw in reused template contexts.

What to look into

  • 5 vulnerabilities in scriban: 5 high (CVSS up to 8.7).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-137510 (8.7 high): Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64encode, html.escape, html.newlinetobr, html.url… An attacker without an account can exploit this over the network, without any user action.
  • 4 of 5 can be attacked over the network without logging in, 4 of them without anyone clicking anything.
  • Kinds of flaws: Uncontrolled Resource Consumption (×2); Allocation of Resources Without Limits or Throttling (×2); Sensitive Information in Resource Not Removed Before Reuse.
Vulnerabilities

Key points

  • Five HIGH-rated Scriban flaws published by NVD on 2026-11-26
  • Affected versions are stated as before 7.6.0
  • Four memory or CPU exhaustion flaws, mostly via LimitToString bypasses
  • CVE-2026-137511 is a state isolation issue in reused TemplateContext instances
  • The records do not mention active exploitation or workarounds

Overview

NVD published five vulnerabilities in Scriban on 2026-11-26, all affecting versions before 7.6.0. Each is rated HIGH: four carry a CVSS score of 8.7 and CVE-2026-137511 carries 7.2. Four of the five are resource exhaustion flaws that let whoever writes a template push a process toward excessive memory or CPU use. The fifth is a state isolation flaw in reused template contexts.

String length limit bypasses

CVE-2026-137510, CVE-2026-137508 and CVE-2026-137509 share a theme: each lets a small template get around the LimitToString string length limit. CVE-2026-137510 covers several builtins that lack allocation guards, which the record says can force multi-gigabyte allocations when called repeatedly under the default TemplateContext. CVE-2026-137508 involves object.tojson writing into an unbounded MemoryStream, which the record says can be amplified with escape-heavy strings. CVE-2026-137509 concerns ScriptObject.ToString concatenating large member values without length tracking.

Loop limit and state issues

CVE-2026-137512 concerns object.fromjson. According to the record, a flat JSON array or object with hundreds of thousands of elements is materialized without loop checks, exhausting CPU and memory. CVE-2026-137511 is different. TemplateContext.Reset() does not clear the Tags dictionary that holds array.cycle and math.random state, so renders on a reused context can observe or influence each other's cycle positions and random sequences. The record also says cycle entries can accumulate without bound.

Scope and response

The records describe Scriban and Scriban.Signed before 7.6.0 as affected. They do not state that any of these flaws is being exploited, and they give no workaround or detection guidance.

What to do

  1. Upgrade Scriban and Scriban.Signed to 7.6.0 or later, the version boundary the records name.
  2. Review which templates are accepted from untrusted sources, since each record involves a template author or someone supplying a template.

Our article about all 5 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 5 vulnerabilities

  • CVE-2026-137510 8.7 Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64encode, html.escape, html.newlinetobr, html.urlencode, and html.urlescape builtins lack…
  • CVE-2026-137512 8.7 Scriban before 7.6.0 contains a resource exhaustion vulnerability that allows attackers to bypass LoopLimit by supplying large JSON input to object.fromjson. Attackers can pass a flat JSON array or object with hundreds of thousands of elem…
  • CVE-2026-137508 8.7 Scriban before 7.6.0 contains a memory exhaustion vulnerability in object.tojson that allows template authors to bypass the LimitToString string length limit by serializing into an unbounded MemoryStream. Attackers can repeatedly apply obj…
  • CVE-2026-137509 8.7 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 concate…
  • CVE-2026-137511 7.2 Scriban before 7.6.0 contains a state isolation vulnerability because TemplateContext.Reset() does not clear the Tags dictionary holding array.cycle and math.random state. Attackers supplying templates to a reused context can observe or in…

Frequently asked questions

How many scriban vulnerabilities were published on November 26, 2026?

5 vulnerabilities: 5 high, with CVSS scores up to 8.7.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-137510 (CVSS 8.7): Scriban and Scriban.Signed before 7.6.0 allow template authors to bypass the LimitToString string length limit because the string.literal, string.base64encode, html.escape, html.newlinetobr, html.url…

Original records