Elevated
Scriban exposes function internals, letting templates read and change host secrets
CVE-2026-124438
A .NET document tool lets attackers read and change program secrets.
- CVE
- CVE-2026-124438 (opens in a new tab)
- Score
- CVSS 7.4
- Public date
- 2026-10-24
- First seen
7.4
Products
Mitigation
Update Scriban and Scriban.Signed on NuGet to 7.5.2.
Summary
Scriban 7.5.1 and older let template authors read and overwrite the .NET objects behind exposed functions. If the host exposes instance-method delegates or capturing lambdas, service properties and closure secrets can be read or changed.
Exploit code is public
Affected when
- Host exposes instance-method delegates or capturing lambdas via ScriptObject.Import(name, Delegate)
- Scriban 7.5.1 or older
3 other Incidents of this product in the last 30 days
Incidents by product: scriban
Other recent Incidents of scriban
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- Write-up: vulncheck.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)