---
id: CVE-2026-40411
title: >-
  Improper input validation in Azure Virtual Network Gateway allows an
  authorized attacker to execute code over a network.
summary: >-
  Improper input validation in Azure Virtual Network Gateway allows an
  authorized attacker to execute code over a network.
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-20
vendor: microsoft
product: azure_virtual_network_gateway
affected:
  - azure_virtual_network_gateway
published: '2026-05-22'
updated: '2026-07-23'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-40411'
references:
  - url: 'https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40411'
    label: secure@microsoft.com
tags:
  - nvd
epss: 0.00525
epssPercentile: 0.43506
ingestedAt: '2026-07-23T11:17:34.483Z'
---

## Overview

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

## Affected

- `azure_virtual_network_gateway`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
