Is System.Data.SqlClient 4.1 vulnerable?
NuGet · 1 release from 4.1.0 to 4.1.0 · latest System.Data.SqlClient is 4.9.1 · checked 18 Nov 2026
Yes: 2 known advisories
Yes. System.Data.SqlClient 4.1.0, the last 4.1 release, is affected by 2 known security advisories (1 high, 1 medium), including CVE-2024-0056, CVE-2022-41064. Upgrade to 4.8.6 or later to fix all of them.
dotnet add package System.Data.SqlClient --version 4.8.6Is your project on an affected System.Data.SqlClient?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting System.Data.SqlClient 4.1.0
Microsoft.Data.SqlClient and System.Data.SqlClient vulnerable to SQL Data Provider Security Feature Bypass
- Affected
- <4.8.6
- Fixed in
- 4.8.6
.NET Information Disclosure Vulnerability
- Affected
- <4.8.5
- Fixed in
- 4.8.5
Which of your client projects are still on System.Data.SqlClient 4.1?
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.