CVE-2026-74791
High
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.
SeverityHigh
CVSS8.6
Exploit probability—
ProductScriban
PublishedAug 16, 2026
First seenAug 16, 2026
Weakness typeCWE-226CWE-226
How to fix
Update
- scriban7.0.0 or later
- Scriban.Signed7.0.0 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| scribanNuGet | v < 7.0.0 | 7.0.0 |
| Scriban.SignedNuGet | v < 7.0.0 | 7.0.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.