Description
Improper verification of cryptographic signature in ASP.NET Core allows an unauthorized attacker to elevate privileges over a network.
Published: 2026-04-21
Score: 9.1 Critical
EPSS: 10.3% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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 10% shows a relatively high likelihood 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.

Generated by OpenCVE AI on June 18, 2026 at 08:52 UTC.

Remediation

No vendor fix or workaround currently provided.

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 June 18, 2026 at 08:52 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
History

Tue, 28 Apr 2026 19:15:00 +0000

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

Thu, 23 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Critical


Wed, 22 Apr 2026 00:00:00 +0000

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'}


Subscriptions

Microsoft Asp.net Core Visual Studio 2026
cve-icon MITRE

Status: PUBLISHED

Assigner: microsoft

Published:

Updated: 2026-06-19T16:09:01.025Z

Reserved: 2026-04-11T23:06:15.615Z

Link: CVE-2026-40372

cve-icon Vulnrichment

Updated: 2026-04-21T19:40:48.644Z

cve-icon NVD

Status : Analyzed

Published: 2026-04-21T20:16:59.133

Modified: 2026-06-17T10:45:12.437

Link: CVE-2026-40372

cve-icon Redhat

Severity : Critical

Publid Date: 2026-04-21T19:20:50Z

Links: CVE-2026-40372 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T09:00:16Z

Weaknesses
  • CWE-347

    Improper Verification of Cryptographic Signature