CVE-2026-40411

Azure Virtual Network Gateway Remote Code Execution Vulnerability

Published May 22, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
Improper input validation in Azure Virtual Network Gateway allows an authorized attacker to execute code over a network.

Analysis

AI-generated

Technical impact

Improper input validation in Azure Virtual Network Gateway, identified as a CWE‑20 flaw, allows an authorized attacker to execute code over a network, providing full remote code execution on the gateway device. This can compromise confidentiality, integrity, and availability of all traffic passing through the gateway.

Affected Systems

Microsoft Azure Virtual Network Gateway is affected. No specific version information was provided, but the vulnerability applies to all currently deployed instances of the product at the time of the advisory.

Risk and Exploitability

The CVSS score of 9.9 indicates a critical severity and the vulnerability is exploitable by an attacker with valid credentials who can reach the gateway over the network. The EPSS score of < 1% indicates a very low probability of exploitation, but the high severity warrants immediate attention; the vulnerability is not listed in CISA KEV, suggesting no publicly known exploitation yet. The flaw stems from CWE‑20 improper input validation and can be exploited by crafting malformed packets that trigger arbitrary code execution. An attacker would need network connectivity to the gateway and must be authenticated or have privileged access to send malicious input.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy the official Microsoft update for Azure Virtual Network Gateway as described in the Microsoft Security Response Center advisory.
  • Restrict inbound traffic to the gateway to only trusted IPs and enforce least privilege access controls to reduce the attack surface.
  • Continuously monitor gateway logs and network traffic for anomalous activity that may indicate an attempt to leverage input validation weaknesses or unauthorized command execution.

Generated by OpenCVE AI on May 27, 2026 at 22:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:microsoft:azure_virtual_network_gateway:-:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description Improper input validation in Azure Virtual Network Gateway allows an authorized attacker to execute code over a network.
Title Azure Virtual Network Gateway Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft azure Virtual Network Gateway
Weaknesses CWE-20
CPEs cpe:2.3:a:microsoft:azure_virtual_network_gateway:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft azure Virtual Network Gateway
References
Metrics cvssV3_1

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Aug 10, 2026, 3:12 PM
Reserved
Apr 13, 2026, 12:27 AM
Status
Analyzed
Published
May 22, 2026, 11:16 PM
Modified
Jul 23, 2026, 11:10 AM