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

Read the record on cve.org

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

CVSSScoreVectorSource
4.09.2 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NVulnCheck
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:NVulnCheck

Weaknesses

  • CWE-226 Sensitive Information in Resource Not Removed Before Reuse

Affected Products

ProductVersions
scribanscriban
  • before 7.0.0Affected
  • 7.0.0Not affected

References

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.