Sensitive Information in Resource Not Removed Before Reuse
CVE-2026-74791
Summary
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.
- LOW
- NETWORK
- NONE
- CHANGED
- NONE
- NONE
- HIGH
- NONE
CWE-226 - Sensitive Information in Resource Not Removed Before Reuse
The product releases a resource such as memory or a file so that it can be made available for reuse, but it does not clear or "zeroize" the information contained in the resource before the product performs a critical state transition or makes the resource available for reuse by other entities.
References
Advisory Timeline
- Published