Paper/Archive/CVE-2026-74791

CVE-2026-74791

scriban scriban — Scriban before 7.0.0 Authorization Bypass via Stale Include Cache

Description · from the CVE record

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

ProductAffectedFixed inSource
scriban< 7.0.07.0.0CNA

Scores by source

VulnCheck (CNA)9.2CVSS: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 (CNA)8.6CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

exploitgithub.com/scriban/scriban/security/advisories/GHSA-x6m9-38vm-2xhfwriteupvulncheck.com/advisories/scriban-before-authorization-bypass-via-stale-include-cache