CVE-2026-74789: Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations

Published Aug 16, 2026
·
Updated

Scriban before 7.0.0 (affected <= 6.6.0) applies its LoopLimit constraint only to script loop statements and not to expensive iteration performed inside built-in operators and functions. As a result, a single expression such as {{ 1..1000000 | array.size }} — or a memory-amplification expression such as {{ 'A' 200000000 }} — can force large CPU or memory consumption even when LoopLimit is configured to a very small value, resulting in denial of service. Applications that render attacker-controlled templates and rely on LoopLimit for safe execution are affected.

Affected Software

1 affected component
Scriban Scriban<=6.6.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Scriban to a version that resolves this vulnerability.

    Fixed in 7.0.0
  2. Compensating control

    If upgrading is not immediately possible, prevent attacker-controlled template rendering or otherwise isolate template rendering to mitigate CPU/memory denial-of-service caused by LoopLimit bypass via built-in operations (e.g., expressions like {{ 1..1000000 | array.size }} or {{ 'A' * 200000000 }}).

Event History

Aug 16, 2026
CVE Published
via MITRE·01:14 PM
Data Sourced
via MITRE·01:14 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-74789?

The severity of CVE-2026-74789 is high, with a CVSS score of 7.5.

2

How do I fix CVE-2026-74789?

To fix CVE-2026-74789, upgrade Scriban to version 7.0.0 or later.

3

What is the primary issue in CVE-2026-74789?

CVE-2026-74789 allows a LoopLimit bypass due to the application of constraints only to script loop statements.

4

What versions of Scriban are affected by CVE-2026-74789?

Scriban versions up to and including 6.6.0 are affected by CVE-2026-74789.

5

What types of operations are exploited in CVE-2026-74789?

CVE-2026-74789 is exploited through expensive iteration in built-in operators and functions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203