CVE-2026-74791 json
Scriban before 7.0.0 Authorization Bypass via Stale Include Cache
published 2026-03-24 7 mo ago modified 2026-08-31 2 mo ago also GHSA-x6m9-38vm-2xhf , EUVD-2026-59957
- cvss
- 8.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget scriban 7.0.0
- nuget Scriban.Signed 7.0.0
- scriban scriban 7.0.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/scriban/scriban/security/advisories/GHSA-x6m9-38vm-2xhf referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| CNA | 4.0 | 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 |
| GitHub | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | scriban | <7.0.0 |
7.0.0 |
| nuget | Scriban.Signed | <7.0.0 |
7.0.0 |
Affected products
- scriban scriban
Classification
- Weakness
-
- CWE-226 Sensitive Information in Resource Not Removed Before Reuse
References
-
github.com
/scriban/scriban/security/advisories/GHSA-x6m9-38vm-2xhf
vendor-advisory, exploit, web
-
vulncheck.com
/advisories/scriban-before-authorization-bypass-via-stale-include-cache
third-party-advisory
-
github.com
/scriban/scriban
package
Sources
- CVE List CVE-2026-74791
- GitHub Advisory GHSA-x6m9-38vm-2xhf
- NVD CVE-2026-74791
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.