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.

Scoring

Severity
CRITICAL
CVSS base score
9.2
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
EPSS probability
0.27%
CWE
CWE-226
Published
2026-08-16
Last modified
2026-08-17

Affected products

Weakness type

Related vulnerabilities

Markdown version · Browse all CVEs