# CVE-2026-74791

## Summary

- **CVE ID:** CVE-2026-74791
- **Severity:** CRITICAL
- **CVSS Score:** 9.2 (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)
- **CWE:** CWE-226
- **Published:** Aug 16, 2026
- **Last Modified:** Aug 17, 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.

## Affected Products

- scriban — scriban (0)
- scriban — scriban (7.0.0)

## References

- [CNA](https://github.com/scriban/scriban/security/advisories/GHSA-x6m9-38vm-2xhf)
- [CNA](https://www.vulncheck.com/advisories/scriban-before-authorization-bypass-via-stale-include-cache)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.27%
- **EPSS Percentile:** 18.9

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._