CVE-2021-26701Microsoft .net
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Microsoft · Microsoft .net We alert you by email or Slack (account required).
- Priority
- 77
- CVSS 3.1
- 9.8
- EPSS
- 30.1% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Feb 25, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Windows
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
.NET Core Remote Code Execution Vulnerability
What to do
- Apply the vendor's security update for .net.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | System.Text.Encodings.Web |
≥ 4.0.0 < 4.5.1 |
4.5.1 |
dotnet add package System.Text.Encodings.Web --version 4.5.1 |
| NuGet | System.Text.Encodings.Web |
≥ 4.6.0 < 4.7.2 |
4.7.2 |
dotnet add package System.Text.Encodings.Web --version 4.7.2 |
| NuGet | System.Text.Encodings.Web |
≥ 5.0.0 < 5.0.1 |
5.0.1 |
dotnet add package System.Text.Encodings.Web --version 5.0.1 |
Per OSV / GitHub Advisories (GHSA-ghhp-997w-qr28). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | .net | ≥ 5.0 < 5.0.4 |
| microsoft | .net_core | ≥ 2.1 < 2.1.28 |
| microsoft | .net_core | ≥ 3.1 < 3.1.15 |
| microsoft | powershell_core | 7.0 |
| microsoft | powershell_core | 7.1 |
| microsoft | visual_studio_2019 | ≥ 16.0 ≤ 16.9 |
| microsoft | visual_studio_2019 | all |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.