CVE-2026-74785 Scriban before 7.0.0 Denial of Service via Unbounded Resource Consumption

High 7.1 Published Updated

Attackers supplying templates can cause out-of-memory or CPU exhaustion in Scriban, terminating the host process.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-74785?

CVE-2026-74785 is a high-severity denial of service vulnerability in scriban, published on 16 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-400

Which versions are affected by CVE-2026-74785?

4 open source packages ship an affected version, including Scriban and Scriban.Signed.

PackageAffectedFixed in
Scriban NuGetAll versions7.0.0
Scriban NuGetAll versions7.0.0
Scriban.Signed NuGetAll versions7.0.0
Scriban.Signed NuGetAll versions7.0.0

How do I fix CVE-2026-74785?

Upgrade Scriban to 7.0.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-74785 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-74785 exists.

Sources

Also known as GHSA-q5qx-vc88-69hw, GHSA-xw6w-9jjh-p9cr.

Is CVE-2026-74785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free