Is System.Data.SqlClient 4.8 vulnerable?

NuGet · 7 releases from 4.8.0 to 4.8.6 · latest System.Data.SqlClient is 4.9.1 · checked 18 Nov 2026

No known advisories in the last release

System.Data.SqlClient 4.8.6, the last 4.8 release, has no known advisories. 2 advisories affect earlier 4.8.x releases, so update to 4.8.6.

Update within 4.8:dotnet add package System.Data.SqlClient --version 4.8.6

Is your project on an affected System.Data.SqlClient?

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

Fixed within 4.8.x, affecting earlier releases

  • HighCVE-2024-0056GHSA-98g6-xh36-x2p79 Jan 2024

    Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass

    Affected
    <4.8.6
    Fixed in
    4.8.6
  • MediumCVE-2022-41064GHSA-8g2p-5pqh-5jmc8 Nov 2022

    .NET Information Disclosure Vulnerability

    Affected
    <4.8.5
    Fixed in
    4.8.5

Every System.Data.SqlClient 4.8.x release

Affected: 4.8.0 to 4.8.5. 4.8.6 is not affected. Latest System.Data.SqlClient: 4.9.1.

VersionKnown advisories
System.Data.SqlClient 4.8.6None
System.Data.SqlClient 4.8.5CVE-2024-0056
System.Data.SqlClient 4.8.4CVE-2024-0056, CVE-2022-41064
System.Data.SqlClient 4.8.3CVE-2024-0056, CVE-2022-41064
System.Data.SqlClient 4.8.2CVE-2024-0056, CVE-2022-41064
System.Data.SqlClient 4.8.1CVE-2024-0056, CVE-2022-41064
System.Data.SqlClient 4.8.0CVE-2024-0056, CVE-2022-41064

Which of your client projects are still on System.Data.SqlClient 4.8?

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

Other System.Data.SqlClient 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.