CVE-2026-137512 — Scriban
HIGHCVE-2026-137512 is a high-severity (CVSS 7.5) CWE-770 vulnerability in scriban scriban. A fix is available — see the affected versions and patch details below.
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…
Description
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.
Affected Products
scribanscribanscribanscribanDetection & mitigation playbook
Vendor / applianceDetect
Inventory every scriban scriban deployment and check each version against the affected-products list above.
Fix
Apply the scriban scriban security patch or hotfix for CVE-2026-137512 on the affected version, following the vendor advisory for your exact build.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-137512 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.