Is Scriban 5.2 vulnerable?

NuGet · 1 release from 5.2.0 to 5.2.0 · latest Scriban is 7.6.1 · checked 18 Nov 2026

Yes: 14 known advisories

Yes. Scriban 5.2.0, the last 5.2 release, is affected by 14 known security advisories (1 critical, 9 high, 4 medium), including CVE-2026-74790, CVE-2026-73061, CVE-2026-74784. Upgrade to 7.2.2 or later to fix all of them.

Upgrade with:dotnet add package Scriban --version 7.2.2

Is your project on an affected Scriban?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting Scriban 5.2.0

  • HighCVE-2026-73061GHSA-7jvp-hj45-2f2m6 Jul 2026

    Scriban: Template Writes to Arbitrary CLR Properties via `TypedObjectAccessor` (Mass Assignment + `private` / `init` / `internal` Setter Bypass)

    Affected
    <7.2.2
    Fixed in
    7.2.2
  • MediumCVE-2026-73062GHSA-q6rr-fm2g-g5x826 Jun 2026

    Scriban: array * int (ScriptArray<T>.TryEvaluate) bypasses LoopLimit — incomplete fix for GHSA-c875-h985-hvrc, missed sibling of GHSA-24c8-4792-22hx

    Affected
    >=3.0.0 <7.2.1
    Fixed in
    7.2.1
  • HighCVE-2026-74784GHSA-24c8-4792-22hx19 May 2026

    Scriban: array.insert_at index parameter DoS bypasses LoopLimit and LimitToString

    Affected
    <7.2.0
    Fixed in
    7.2.0
  • MediumCVE-2026-74785GHSA-xw6w-9jjh-p9cr24 Mar 2026

    Scriban has Multiple Denial-of-Service Vectors via Unbounded Resource Consumption During Expression Evaluation

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • MediumCVE-2026-74786GHSA-m2p3-hwv5-xpqw24 Mar 2026

    Scriban: Denial of Service via Unbounded Cumulative Template Output Bypassing LimitToString

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • HighCVE-2026-74787GHSA-xcx6-vp38-8hr524 Mar 2026

    Scriban has Uncontrolled Recursion in `object.to_json` Causing Unrecoverable Process Crash via StackOverflowException

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • HighCVE-2026-74788GHSA-v66j-x4hw-fv9g24 Mar 2026

    Scriban: Uncontrolled Memory Allocation via string.pad_left/pad_right Allows Remote Denial of Service

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • HighCVE-2026-74789GHSA-c875-h985-hvrc24 Mar 2026

    Scriban: Built-in operations bypass LoopLimit and delay cancellation, enabling Denial of Service

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • CriticalCVE-2026-74790GHSA-5wr9-m6jw-xx4424 Mar 2026

    Scriban: Sandbox escape due to TypedObjectAccessorcache bypassing MemberFilter after TemplateContext reuse

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • HighCVE-2026-74791GHSA-x6m9-38vm-2xhf24 Mar 2026

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

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • HighCVE-2026-74792GHSA-p6q4-fgr8-vx4p24 Mar 2026

    Scriban has a Stack Overflow via Nested Array Initializers That Bypass the ExpressionDepthLimit Fix

    Affected
    <7.0.0
    Fixed in
    7.0.0
  • MediumGHSA-5rpf-x9jg-8j5p19 Mar 2026

    Scriban Affected by Memory Exhaustion (OOM) via Unbounded String Generation (Denial of Service)

    Affected
    <6.6.0
    Fixed in
    6.6.0
  • HighCVE-2026-74794GHSA-grr9-747v-xvcp19 Mar 2026

    Scriban has an Infinite Recursion during Object Rendering Leads to Stack Overflow and Process Crash (Denial of Service)

    Affected
    <6.6.0
    Fixed in
    6.6.0
  • HighCVE-2026-74795GHSA-wgh7-7m3c-fx2519 Mar 2026

    Scriban has Uncontrolled Recursion in Parser Leads to Stack Overflow and Process Crash (Denial of Service)

    Affected
    <6.6.0
    Fixed in
    6.6.0

Which of your client projects are still on Scriban 5.2?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact Scriban version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other Scriban versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the NuGet registry. Refreshed daily.