Vulnerability DatabaseCVE-2026-120006

CVE-2026-120006: 
C# vulnerability analysis and mitigation

Overview

CVE-2026-120006 is an Elevation of Privilege vulnerability in .NET Aspire caused by the insertion of sensitive information into sent data (CWE-201). Specifically, the Aspire Dashboard authentication cookie can be disclosed to a linked service, allowing an attacker-controlled container to replay the authenticated session and execute code as the host developer. The vulnerability affects Aspire.Hosting and Aspire.Hosting.AppHost versions 13.6.4 and earlier (up to but not including 13.6.5), running on macOS (x64 and Arm64). It was disclosed and patched on November 10, 2026, as part of Microsoft's November 2026 Patch Tuesday. The CVSS v3.1 base score is 7.5 (High) (Microsoft MSRC, GitHub Advisory).

Technical details

The root cause is classified as CWE-201 (Insertion of Sensitive Information Into Sent Data): the Aspire Dashboard authentication cookie is transmitted to a linked service in a way that makes it accessible to an attacker-controlled container. The specific affected scenario involves a developer starting an Aspire AppHost, authenticating to its Dashboard, and following a resource link that routes through an attacker-controlled container via a linked HTTPS YARP gateway. The attacker-controlled container can capture the authentication cookie and replay the authenticated session to execute code as the host developer. Exploitation requires local access, low privileges, high attack complexity, and user interaction (the developer must follow the malicious resource link), and the scope change indicates impact beyond the vulnerable component itself (GitHub Advisory, Microsoft MSRC).

Impact

Successful exploitation allows an attacker-controlled container to replay the Aspire Dashboard authenticated session and execute code as the host developer, resulting in high confidentiality, integrity, and availability impact. The scope change in the CVSS score indicates that the impact extends beyond the vulnerable Aspire component itself, potentially affecting the developer's host system and any resources accessible under their credentials. This could enable further lateral movement within a development environment or CI/CD pipeline (GitHub Advisory, Microsoft MSRC).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of disclosure (Microsoft MSRC, GitHub Advisory). The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable. The EPSS score is approximately 0.353%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was credited to researcher "samthewhitehat" (GitHub Advisory).

Exploitation steps

  1. Setup: The attacker positions a malicious container within the victim developer's .NET Aspire AppHost environment, configured as a linked service with an HTTPS YARP gateway.
  2. Wait for authentication: The attacker waits for the developer to start the Aspire AppHost and authenticate to the Aspire Dashboard.
  3. Trigger user interaction: The attacker's container presents a resource link in the Dashboard that the developer is enticed to follow (e.g., a seemingly legitimate service endpoint).
  4. Capture authentication cookie: When the developer follows the link, the Aspire Dashboard authentication cookie is transmitted to the attacker-controlled container via the linked HTTPS YARP gateway, exposing the session credential.
  5. Session replay: The attacker replays the captured authentication cookie to authenticate to the Aspire Dashboard as the developer.
  6. Code execution: With authenticated access to the Dashboard, the attacker executes code in the context of the host developer, gaining full access to the developer's environment and resources (GitHub Advisory).

Indicators of compromise

  • Network: Unexpected outbound HTTPS requests from the Aspire Dashboard or AppHost process to unknown or attacker-controlled container endpoints; unusual YARP gateway traffic forwarding authentication cookies to non-trusted services.
  • Logs: Aspire Dashboard access logs showing authentication events from unexpected IP addresses or containers; repeated session authentication using the same cookie from multiple sources.
  • Process: Unexpected code execution or child processes spawned under the developer's user account following Aspire Dashboard interaction; unusual activity in the AppHost process after a developer follows a resource link.
  • File System: Unexpected files or scripts created in the developer's working directory or AppHost project folder after a Dashboard session.

Mitigation and workarounds

Update the AppHost project's Aspire.Hosting.AppHost NuGet package reference to version 13.6.5 or later; if the package is obtained implicitly through Aspire.AppHost.Sdk, update that SDK reference to 13.6.5 or later as well. Explicit package references or central version pins must also resolve Aspire.Hosting to version 13.6.5 or later. After updating, restore dependencies, rebuild, and restart the AppHost. Note that updating only the .NET runtime, .NET SDK, Aspire CLI, or standalone Dashboard does not replace the AppHost project's hosting dependencies. As an interim measure, restrict local access to systems running affected versions and avoid following resource links from untrusted containers in the Aspire Dashboard (GitHub Advisory, Microsoft MSRC).

Community reactions

The vulnerability was covered as part of broader Microsoft November 2026 Patch Tuesday reporting, which addressed over 1,200 flaws including an actively exploited Outlook zero-day (BleepingComputer, CyberSecurityNews). The Particular Software community also published a related security patch release for their Aspire hosting integration (Particular.net Forum). Social media activity was limited, with automated CVE bots on Mastodon and Infosec.exchange noting the advisory shortly after publication.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

devel

dotnet10

Not Affected

jammy

dotnet6

Not Affected

noble

dotnet8

Not Affected

resolute

dotnet10

Not Affected

Source: This report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59975HIGH7.5
  • C# logoC#
  • SharpIppNext
NoYesNov 18, 2026
CVE-2026-102529HIGH7.5
  • C# logoC#
  • HtmlSanitizer
NoYesNov 17, 2026
CVE-2026-128082HIGH7.5
  • C# logoC#
  • AutoMapper
NoYesNov 13, 2026
CVE-2026-128081HIGH7.5
  • C# logoC#
  • AutoMapper
NoYesNov 13, 2026
CVE-2026-120796MEDIUM5.3
  • C# logoC#
  • Microsoft.NETCore.App.Runtime.linux-musl-arm
NoYesNov 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management