Skip to content
OpenAdvisories
High · 8.6 CVE-2026-74791 EUVD-2026-59957GHSA-58jr-9c6g-55jqGHSA-x6m9-38vm-2xhf

Scriban before 7.0.0 Authorization Bypass via Stale Include Cache

Published Aug 16, 2026 · Updated Aug 17, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
scriban scriban < 7.0.0 7.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet scriban < 7.0.0 7.0.0 GHSA-x6m9-38vm-2xhf
NuGet Scriban.Signed < 7.0.0 7.0.0 GHSA-x6m9-38vm-2xhf

References