
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40215 is a race condition vulnerability in OpenVPN that allows remote attackers to potentially cause a server crash or leak heap memory via a use-after-free triggered during TLS session promotion. It affects OpenVPN versions 2.6.0 through 2.6.19 and 2.7_alpha1 through 2.7.1. The vulnerability was disclosed on June 8, 2026, and patches were released on April 22, 2026 (OpenVPN 2.6.20 and 2.7.2). It carries a CVSS v4.0 base score of 6.1 (Medium) (GitHub Advisory, OpenVPN Release History).
The root cause is a race condition (CWE-416: Use After Free, CWE-125: Out-of-bounds Read) that occurs during TLS session promotion in the OpenVPN daemon. When a TLS session is being promoted (upgraded), a timing window allows a freed memory region to be accessed, potentially enabling heap memory disclosure or a server crash. Exploitation requires network access and low-level privileges (e.g., an authenticated VPN client), and the high attack complexity reflects the need to win the race condition timing window. No public proof-of-concept exploit code has been identified at this time (GitHub Advisory, OpenVPN Security Announcement).
Successful exploitation can result in two primary outcomes: a crash of the OpenVPN server process (denial of service) or leakage of heap memory contents, which may expose sensitive data such as cryptographic material, session keys, or other in-memory secrets. The availability impact is high for the vulnerable system, and the confidentiality impact is also rated high, meaning sensitive server-side data could be disclosed to an attacker. Downstream systems connected through the VPN may be indirectly affected if the server is crashed or if leaked memory contains credentials or keys enabling further access (GitHub Advisory, OpenVPN Security Announcement).
No public exploit code or in-the-wild exploitation has been reported for CVE-2026-40215 as of the time of writing. The EPSS score is approximately 0.138–0.155%, placing it in the 36th percentile for exploitation likelihood within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires low privileges (an authenticated client connection) and high attack complexity due to the race condition timing requirement, limiting the practical exploitability (GitHub Advisory, OpenVPN Security Announcement).
OpenVPN released patched versions on April 22, 2026: OpenVPN 2.6.20 and OpenVPN 2.7.2 both address this vulnerability. OpenVPN Access Server 3.2.0 (which bundles OpenVPN core 2.7.2) also includes the fix. Administrators should upgrade to these versions immediately. Linux distribution patches have been issued for Fedora, Ubuntu (USN-8286-1), Debian, Alpine Linux, Amazon Linux 2023, and Mageia. No configuration-based workaround has been published; upgrading is the recommended remediation (OpenVPN Release History, OpenVPN AS 3.2.0 Release Notes, Ubuntu Advisory).
The vulnerability received coverage from Linux security news outlets including Linuxiac, Pro-Linux.de, and LinuxSecurity.com following the April 2026 patch release. Multiple Linux distributions (Fedora, Ubuntu, Debian, Alpine, Mageia, Amazon Linux) issued security advisories and updated packages promptly. Tenable published multiple Nessus detection plugins (IDs 311105, 311727, 315626, 316479) to identify vulnerable systems. Community reaction has been measured, consistent with the moderate severity rating and the absence of known active exploitation (Linuxiac, Ubuntu Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."