CVE-2026-74791 PUBLISHED

Scriban before 7.0.0 Authorization Bypass via Stale Include Cache

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 16.08.2026 Updated: 16.08.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.2

Product Status

Vendor scriban
Product scriban
Versions Default: unaffected
  • affected from 0 to 7.0.0 (excl.)
  • Version 7.0.0 is unaffected

Credits

  • Zwique reporter

References

Problem Types

  • Sensitive Information in Resource Not Removed Before Reuse CWE