CVE-2026-74791
Scriban before 7.0.0 Authorization Bypass via Stale Include Cache
- State
- Published
- Severity
- 9.2 Critical
- Published
- Aug 16, 2026
- Updated
- Aug 17, 2026
- Reserved
- Aug 16, 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | 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 | VulnCheck |
| 3.1 | 8.6 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-226 Sensitive Information in Resource Not Removed Before Reuse
Affected Products
| Product | Versions |
|---|---|
scribanscriban |
|
References
- GitHub Security Advisory (GHSA-x6m9-38vm-2xhf)vendor-advisory
- VulnCheck Advisory: Scriban before 7.0.0 Authorization Bypass via Stale Include Cachethird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.