CVE-2026-102870: Dotnet7 · Improper control of generation of code ('code injection') in ASP.NET Core allows an
Affects dotnet7Source GCVE Database
Not known to be exploited · CVSS 8.8 High · fixed in 10.0.113-10.0.13-0ubuntu1~24.04.1 : patch dotnet7 soon.
Data as of 29 Oct 2026, 22:36 UTC
Thin evidence
One scorer or none| CNA (microsoft) | CVSS 3.1 | 8.8 |
|---|
- Patch
- Available – fixed in 10.0.113-10.0.13-0ubuntu1~24.04.1, 10.0.113-10.0.13-0ubuntu1~26.10.1, 11.0.100-11.0.0~rc2-0ubuntu1~26.10.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CExploitation evidence
Disclosed: evidence found.
CVE published 13 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10dotnet10pkg:deb/ubuntu/dotnet10?arch=source&distro=stonkingOther threats | Affected
| Fixed in
|
Ubuntu 26.10dotnet11pkg:deb/ubuntu/dotnet11?arch=source&distro=stonkingOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSdotnet10pkg:deb/ubuntu/dotnet10?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSdotnet10pkg:deb/ubuntu/dotnet10?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSdotnet7pkg:deb/ubuntu/dotnet7?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official Ubuntu security updates that upgrade the affected packages to the fixed versions: 10.0.13-10.0.13-0ubuntu1~24.04.1, 10.0.13-10.0.13-0ubuntu1~26.10.1, 11.0.0~rc2-0ubuntu1~26.10.1, and 10.0.13-10.0.13-0ubuntu1~26.04.1. A standard system update will apply these fixes. No additional mitigation steps are required beyond applying these patches.
Description
CVE-2026-102870 is a high-severity vulnerability in ASP.NET Core within dotnet7 that allows unauthorized remote code execution due to improper control of code generation (code injection). The flaw affects multiple Ubuntu package versions of .NET 10 and 11 runtimes and SDKs. Fixed versions have been released and are available via Ubuntu security updates.
References
- ubuntu.com/security/CVE-2026-102870 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-102870 (opens in a new tab)
- msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102870 (opens in a new tab)
- devblogs.microsoft.com/dotnet/dotnet-and-dotnet-framework-october-2026-servicing-updates (opens in a new tab)
- github.com/dotnet/announcements/issues/445 (opens in a new tab)
- ubuntu.com/security/notices/USN-8942-1 (opens in a new tab)