Description
Scriban before 7.0.0 contains three distinct denial-of-service vulnerabilities in expression evaluation that bypass existing safety controls through unbounded string multiplication, uncontrolled BigInteger shift operations, and LoopLimit bypass via range enumeration in builtin functions. Attackers who can supply templates can cause out-of-memory exceptions or CPU exhaustion, typically terminating the entire host process.
Published: 2026-08-16
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Scriban contains three distinct denial‑of‑service flaws in its expression evaluator. The bugs allow unbounded string multiplication, uncontrolled BigInteger shift operations, and a loop‑limit bypass via range enumeration in builtin functions. The result is out‑of‑memory exceptions or sustained CPU exhaustion that can terminate the entire host process. The weakness is a classic untrusted input resource exhaustion flaw (CWE‑400).

Affected Systems

The affected component is the Scriban template engine distributed under the scriban:scriban vendor. All releases prior to 7.0.0 are vulnerable, regardless of minor version offsets. No later version of Scriban mitigates these issues.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. Because the exploit requires the attacker to supply arbitrary template code, it is typically relevant only when template input is under attacker control. No EPSS value is available, and the vulnerability is not in the CISA KEV catalog, so the current risk profile is high but the exploitation likelihood is unclear without an EPSS estimate. The attack chain therefore depends on administrative access to the templating logic or on design weaknesses that expose template evaluation to untrusted data.

Generated by OpenCVE AI on August 16, 2026 at 14:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Scriban to version 7.0.0 or newer.
  • If an upgrade cannot yet be applied, restrict template source to trusted content and reject or sanitize templates supplied by external users.
  • Consider sandboxing or containerizing the rendering process to limit memory and CPU usage exposed to the template engine.

Generated by OpenCVE AI on August 16, 2026 at 14:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 16 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Description Scriban before 7.0.0 contains three distinct denial-of-service vulnerabilities in expression evaluation that bypass existing safety controls through unbounded string multiplication, uncontrolled BigInteger shift operations, and LoopLimit bypass via range enumeration in builtin functions. Attackers who can supply templates can cause out-of-memory exceptions or CPU exhaustion, typically terminating the entire host process.
Title Scriban before 7.0.0 Denial of Service via Unbounded Resource Consumption
Weaknesses CWE-400
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-16T13:14:11.187Z

Reserved: 2026-08-16T12:56:02.577Z

Link: CVE-2026-74785

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-16T14:16:56.390

Modified: 2026-08-16T14:16:56.390

Link: CVE-2026-74785

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-16T14:45:04Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption