Skip to main content

Azure Virtual Network Gateway CVE-2026-40411

| EUVDEUVD-2026-31510 HIGH
Improper Input Validation (CWE-20)
2026-05-22 microsoft GHSA-g63w-3vwq-rqw8
8.8
CVSS 3.1 · NVD
Temporal: 8.6
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privileged authenticated access
  2. Delivery
    Reach Azure Virtual Network Gateway over network
  3. Exploit
    Send crafted malformed input
  4. Execution
    Bypass improper input validation
  5. Persist
    Execute arbitrary code on gateway
  6. Impact
    Full compromise of confidentiality, integrity, availability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires the attacker to already hold low-level privileges (CVSS PR:L) and network reachability to an Azure Virtual Network Gateway instance; the trigger is crafting malformed input that the gateway improperly validates (CWE-20). No user interaction is needed (UI:N) and attack complexity is low (AC:L), so once the authenticated network position exists, exploitation is straightforward. The primary limiting factors are the PR:L authentication requirement - a fully unauthenticated attacker cannot exploit it - and the need for network access to the specific gateway; there is no indication a non-default configuration is required, but the exact vulnerable request/feature is not specified in the available data and should be confirmed with Microsoft's MSRC advisory.

Impact

Signals are mixed. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8 High) indicates low-complexity network exploitation requiring only low privileges and no user interaction, with total impact - reinforced by SSVC 'Technical Impact: total'. Counterbalancing this, EPSS is very low (0.09%, 25th percentile), SSVC records 'Exploitation: none' and 'Automatable: no', and the vulnerability is not in CISA KEV, so there is no evidence of real-world exploitation. The PR:L requirement means an attacker must first hold some authenticated foothold, which materially narrows the realistic attacker set versus a fully unauthenticated flaw. Note a data conflict: the intelligence Tags label this 'Information Disclosure', yet the description and impact metrics describe network code execution - treat the RCE characterization from NVD/description as authoritative and verify the classification with Microsoft's MSRC advisory. Net: a genuinely high-severity flaw worth prompt attention, but current telemetry points to low near-term exploitation likelihood rather than an active-exploitation emergency.

Exploit ScenarioDerived

An attacker who has obtained a low-privileged authenticated foothold with network reach to the gateway sends crafted, malformed input to the Virtual Network Gateway service; the service's improper input validation lets that input drive execution, yielding arbitrary code execution with full impact on the component. No user interaction is required and attack complexity is low, but the attacker must first hold valid low-level privileges. No public proof-of-concept exploit has been identified at time of analysis.

Monitor Track and reassess. Why: Vendor states no customer action required.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 23, 2026

Remote code execution in Microsoft Azure Virtual Network Gateway allows an authenticated attacker to run arbitrary code over the network by supplying malformed input that the service fails to validate (CWE-20). Any low-privileged principal with network access to the gateway can achieve total compromise of confidentiality, integrity, and availability. There is no public exploit identified at time of analysis, and EPSS estimates a low 0.09% 30-day exploitation probability, but the CVSS 8.8 and 'total' technical impact keep it a meaningful priority.

Earlier versions of this analysis (2)
v2 Jul 23, 2026 - 11:46 cvss changed CVSS 8.8

Remote code execution in Microsoft Azure Virtual Network Gateway allows an authenticated attacker with low privileges to run arbitrary code over the network by exploiting improper input validation (CWE-20). Microsoft (the reporting vendor) has released a patch, and while the flaw carries a high CVSS of 8.8 with total technical impact per CISA SSVC, there is no public exploit identified at time of analysis and the EPSS probability is very low (0.09%, 25th percentile). Exploitation requires an existing low-privilege foothold, which meaningfully constrains real-world risk despite the high base score.

v1 May 22, 2026 - 22:45 CVSS 9.9

Remote code execution in Microsoft Azure Virtual Network Gateway allows an authenticated attacker with low privileges to execute arbitrary code across a network boundary due to improper input validation. The CVSS 9.9 score reflects scope-changed impact (S:C) where exploitation can compromise resources beyond the vulnerable component itself, affecting confidentiality, integrity, and availability. No public exploit identified at time of analysis, though the high score and managed-service nature warrant priority attention.

RemediationAI

Patch available per vendor advisory: Microsoft reports a fix is available and, as with cloud PaaS, the mitigation is applied by Microsoft to the service - customers should confirm their gateways are running the remediated service build via Microsoft's guidance at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40411. No exact fixed version number is provided in the available data, so do not assume a specific build string. As compensating controls while confirming remediation, tighten the set of principals that can reach the gateway: restrict management-plane access with Azure RBAC least-privilege (removing unneeded low-privilege roles that satisfy the PR:L precondition), constrain point-to-site and management access with conditional access and network scoping so only trusted identities and source ranges can connect, and monitor gateway diagnostic logs for anomalous or malformed connection attempts. The trade-off of aggressive access restriction is potential disruption to legitimate VPN/ExpressRoute clients and automation, so validate connectivity after changes.

Affected VersionsENISA

Azure Virtual Network Gateway - (version not specified)

Affected Packages

microsoft azure_virtual_network_gateway fix: Azure Virtual Network Gateway

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in microsoft

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Azure Virtual Network Gateway is a Microsoft-managed cloud service (CPE cpe:2.3:a:microsoft:azure_virtual_network_gateway) that provides cross-premises connectivity - site-to-site and point-to-site VPN and ExpressRoute - bridging Azure virtual networks with on-premises networks or remote clients. The root cause is CWE-20 (Improper Input Validation): the gateway processes attacker-supplied network input without adequately checking its structure or bounds, allowing that input to influence execution flow and reach a code-execution primitive. Because this is a Platform-as-a-Service component, remediation is delivered by Microsoft on the service side rather than by customer-installed patches.

Know when Azure Virtual Network Gateway gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CIRCL (temporal) 8.6 HIGH
vuln.today AI 8.8 HIGH

Network-reachable service exploitable with low complexity and no user interaction, but requires low-privilege authentication (PR:L); improper input validation yields code execution with total C/I/A impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Jul 23, 2026 - 11:47 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 23, 2026 - 11:46 vuln.today
v2 - CVSS changed
Severity Changed
Jul 23, 2026 - 11:22 NVD
CRITICAL HIGH
CVSS changed
Jul 23, 2026 - 11:22 NVD
9.9 (CRITICAL) 8.8 (HIGH)

DescriptionNVD

Improper input validation in Azure Virtual Network Gateway allows an authorized attacker to execute code over a network.

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability in Microsoft Azure Virtual Network Gateway could allow authenticated users to gain complete administrative control over gateway operations. While no public exploit identified at time of analysis, any low-privileged employee or contractor with network access could compromise core network infrastructure integrity and availability. Organizations should prioritize deploying the vendor patch to prevent internal threats and supply-chain attacks.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Prevalence
High
widely-used Azure networking service across enterprise cloud deployments
Vendor Action
No Action
Not required. The vulnerability documented by this CVE requires no customer action to resolve.
Vendor Status
Publicly Disclosed:No
Exploited:No
Service Type
Hosted
Vendor-managed, no client patch needed
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
Vendor states no customer action required
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy