CVE-2026-40372

ASP.NET Core Elevation of Privilege Vulnerability

Published Apr 21, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
Improper verification of cryptographic signature in ASP.NET Core allows an unauthorized attacker to elevate privileges over a network.

Analysis

AI-generated

Technical impact

Improper verification of cryptographic signatures in ASP.NET Core allows an attacker who can supply a forged signature to bypass normal authentication checks and gain elevated privileges. The vulnerability stems from an absence of proper signature validation, causing the system to accept untrusted data as a valid authorization token. As a result, an unauthorized user can obtain higher-level access than intended, potentially modifying protected resources or configuration values within the application.

Affected Systems

Microsoft ASP.NET Core 10.0 on all platforms that support this runtime, and Microsoft Visual Studio 2026 version 18.5. Any deployment that relies on the framework’s default signature validation path is susceptible, regardless of custom authentication components.

Risk and Exploitability

The CVSS score of 9.1 indicates a high severity flaw. The EPSS score of <1% indicates a very low probability of exploitation at the time of this analysis, and the issue is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is over the network, where an attacker can inject a forged signature into an authentication request directed at an endpoint that performs the flawed verification. Exploitation requires the ability to send a signed request to that endpoint; if successful, the attacker elevates privileges within the ASP.NET Core application and can act as an authenticated user with full rights.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Microsoft security update that corrects the signature verification logic in ASP.NET Core.
  • Ensure that Microsoft Visual Studio 2026 version 18.5 is updated to the latest patch release that includes any related fixes.
  • Audit custom authentication components to confirm they use the updated cryptographic APIs and do not accept externally supplied data for signature validation.
  • If a patch is not immediately available, limit exposure by restricting network access to trusted IP ranges and applying network segmentation to isolate critical services.

Generated by OpenCVE AI on November 26, 2026 at 06:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9mv3-2cwr-p262 Microsoft Security Advisory CVE-2026-40372 – ASP.NET Core Elevation of Privilege
Ubuntu USN Ubuntu USN USN-8215-1 .NET vulnerability
Ubuntu USN Ubuntu USN USN-8216-1 .NET vulnerabilities
History
Type Values Removed Values Added
First Time appeared Microsoft visual Studio 2026
CPEs cpe:2.3:a:microsoft:visual_studio_2026:*:*:*:*:*:*:*:*
Vendors & Products Microsoft visual Studio 2026
Type Values Removed Values Added
Description Improper verification of cryptographic signature in ASP.NET Core allows an unauthorized attacker to elevate privileges over a network.
Title ASP.NET Core Elevation of Privilege Vulnerability
First Time appeared Microsoft
Microsoft asp.net Core
Weaknesses CWE-347
CPEs cpe:2.3:a:microsoft:asp.net_core:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft asp.net Core
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Oct 15, 2026, 3:53 PM
Reserved
Apr 11, 2026, 11:06 PM
Status
Modified
Published
Apr 21, 2026, 8:16 PM
Modified
Oct 26, 2026, 9:10 PM
Severity
Critical
Public date
Apr 21, 2026, 7:20 PM