Is LiteDB 2.0 vulnerable?

NuGet · 4 releases from 2.0.0 to 2.0.4 · latest LiteDB is 5.0.21 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. LiteDB 2.0.4, the last 2.0 release, is affected by 1 known security advisory (1 critical), including CVE-2022-23535. Upgrade to 5.0.13 or later to fix all of them.

Upgrade with:dotnet add package LiteDB --version 5.0.13

Is your project on an affected LiteDB?

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 LiteDB 2.0.4

  • CriticalCVE-2022-23535GHSA-3x49-g6rc-c28424 Feb 2023

    LiteDB may deserialize bad JSON on object type using _type

    Affected
    <5.0.13
    Fixed in
    5.0.13

Every LiteDB 2.0.x release

Affected: 2.0.0 to 2.0.4. Latest LiteDB: 5.0.21.

VersionKnown advisories
LiteDB 2.0.4CVE-2022-23535
LiteDB 2.0.2CVE-2022-23535
LiteDB 2.0.1CVE-2022-23535
LiteDB 2.0.0CVE-2022-23535

Which of your client projects are still on LiteDB 2.0?

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

Other LiteDB 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.