{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "7.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "25d148a104dd4d679a1a1932442616599e003c2f"
            }
          ],
          "repo": "https://github.com/scriban/scriban",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c875-h985-hvrc"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74789.json"
  },
  "details": "Scriban before 7.0.0 (affected \u003c= 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.",
  "id": "CVE-2026-74789",
  "modified": "2026-08-18T03:31:19.611972202Z",
  "published": "2026-08-16T13:14:13.792Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74789.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/scriban/scriban/security/advisories/GHSA-c875-h985-hvrc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74789"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/scriban-before-looplimit-bypass-via-built-in-operations"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Scriban before 7.0.0 LoopLimit Bypass via Built-in Operations"
}