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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74791.json, https://github.com/scriban/scriban/security/advisories/GHSA-x6m9-38vm-2xhf, https://nvd.nist.gov/vuln/detail/CVE-2026-74791, https://www.vulncheck.com/advisories/scriban-before-authorization-bypass-via-stale-include-cache