{
  "id": "CVE-2026-74786",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74786",
  "published_at": "2026-08-16T13:14:11.837Z",
  "title": "Scriban before 7.0.0 Denial of Service via Unbounded Template Output",
  "vendor": "scriban",
  "product": "scriban",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Scriban before 7.0.0 (affected versions \u003c= 6.6.0) contains a denial-of-service vulnerability in which the LimitToString safety limit (default 1MB) can be bypassed because ObjectToString resets the per-call length counter (_currentToStringLength) on every top-level call and StringBuilderOutput enforces no cumulative output-size limit. An attacker who can supply a template can render a near-limit string repeatedly in a loop, allocating approximately 1GB of memory and causing an out-of-memory condition that crashes the host application.",
  "cwe": "CWE-770",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "scriban",
        "product": "scriban",
        "ranges": [
          "\u003c 7.0.0"
        ],
        "fixed_in": [
          "7.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade scriban to 7.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/scriban/scriban/security/advisories/GHSA-m2p3-hwv5-xpqw"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
