Vulnerability in Scriban

CVE-2026-74791

Scriban before 7.0.0 fails to clear the CachedTemplates dictionary when TemplateContext.Reset() is called, allowing cached templates to persist across reused contexts. Attackers can exploit request-dependent ITemplateLoader implementations to access previously authorized template content from earlier renders without triggering TemplateLoader.Load() again.

CVSS v3 metric

CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-74791?
CVE-2026-74791 is a high-severity vulnerability in Scriban, classified under Sensitive Information in Resource Not Removed Before Reuse. CVSS score: 8.6/10. Published 2026-08-16.
How severe is CVE-2026-74791?
High severity. CVSS v3 base score is 8.6 out of 10.