Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-137512

CVE-2026-137512: Scriban before 7.6.0 LoopLimit Bypass via object.from_json Resource Exhaustion

scriban scriban

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137512: high-severity vulnerability (CVSS 8.7) in scriban scriban.

What happened

Original description from the source: 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

High severity, CVSS 8.7.

Affected products and versions

scriban scriban < 7.6.0; scriban scriban 7.6.0 (fixed in 7.6.0)

ProductVersionsFixed in
scriban scriban< 7.6.0—
scriban scriban7.6.07.6.0

Action recommended by the source

Upgrade to a fixed version: 7.6.0.

Fixed in: 7.6.0

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-770

Relevant change history

  1. Published

    Preliminary advisory published.