{"id":"CVE-2026-74789","state":"PUBLISHED","title":"Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations","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.","publishedAt":"2026-08-16T13:14:13.792Z","updatedAt":"2026-08-17T16:04:43.768Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["scriban scriban"],"affected":[{"vendor":"scriban","product":"scriban","packageURL":"pkg:nuget/scriban","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"7.0.0","versionType":"semver"},{"version":"7.0.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc","https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-in-operations"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/74xxx/CVE-2026-74789.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74789","state":"PUBLISHED","datePublished":"2026-08-16T13:14:13.792Z","dateUpdated":"2026-08-17T16:04:43.768Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-16T12:56:02.577Z"},"containers":{"cna":{"title":"Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations","descriptions":[{"lang":"en","value":"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":[{"vendor":"scriban","product":"scriban","packageURL":"pkg:nuget/scriban","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"7.0.0","versionType":"semver"},{"version":"7.0.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-c875-h985-hvrc)"},{"url":"https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-in-operations","name":"VulnCheck Advisory: Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-16T13:14:13.792Z"},"datePublic":"2026-03-22T00:00:00.000Z","credits":[{"lang":"en","value":"Zwique","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-17T15:44:48.696383Z","id":"CVE-2026-74789","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-17T16:04:43.768Z"}}]}}}