Authorization Bypass in Scriban Template Engine by Scriban
CVE-2026-74791

9.2CRITICAL

Key Information:

Vendor

Scriban

Status
Vendor
CVE Published:
16 August 2026

What is CVE-2026-74791?

The Scriban Template Engine prior to version 7.0.0 has a flaw that fails to clear the CachedTemplates dictionary when the TemplateContext.Reset() method is invoked. This oversight allows previously rendered templates to persist across reused contexts, creating an opportunity for attackers to exploit implementations of ITemplateLoader that are request-dependent. As a result, unauthorized access to sensitive template content from earlier renders may occur without necessitating a new call to TemplateLoader.Load(), thereby increasing the risk of information disclosure.

Affected Version(s)

scriban 0 < 7.0.0

scriban 7.0.0

References

CVSS V4

Score:
9.2
Severity:
CRITICAL
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Zwique
.