Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc
- https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-i
FAQ
What is CVE-2026-74789?
CVE-2026-74789 is a vulnerability with a CVSS score of 7.5 (HIGH). 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, ...
How severe is CVE-2026-74789?
CVE-2026-74789 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-74789?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.