CVE-2026-74791

Severity CVSS v4.0:
CRITICAL
Type:
CWE-226 Sensitive Information in Resource Not Removed Before Reuse
Publication date:
16/08/2026
Last modified:
16/08/2026

Description

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.