Security mailing lists by PureSourceCode

CVE-2026-74791

CRITICAL 9.2CVSS 4.0

Scriban has an authorization bypass due to stale include cache surviving TemplateContext.Reset()

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.

Published
16 Aug 2026
Last modified
31 Aug 2026
Assigned by
disclosure@vulncheck.com
NVD status
Deferred
Weakness
CWE-226
Also known as
GHSA-x6m9-38vm-2xhf
Sources
NVDJSONOSV GHSA-x6m9-38vm-2xhfJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 CRITICAL 9.2 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV NuGet scriban < 7.0.0 7.0.0
OSV NuGet Scriban.Signed < 7.0.0 7.0.0

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 16 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.