CVE-2026-121720: 
OpenVPN Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-121720 is a local privilege escalation vulnerability in OpenVPN for Windows that allows local authenticated users to execute arbitrary code via a privileged service by manipulating user-controlled environment variables. It affects OpenVPN versions 2.4.0 through 2.6.23 and 2.7_alpha1 through 2.7.8 on Windows; non-Windows platforms are not affected. The vulnerability was published on November 18, 2026, with a GitHub Advisory added on November 19, 2026. It carries a CVSS v4.0 base score of 8.5 (High) (Github Advisory, Feedly).

Détails techniques

The vulnerability stems from OpenVPN's Interactive Service (OpenVPNServiceInteractive) running as LocalSystem on Windows, which inherits and trusts user-controlled environment variables when spawning the OpenVPN client process. Classified under CWE-250 (Execution with Unnecessary Privileges), CWE-426 (Untrusted Search Path), and CWE-454 (External Initialization of Trusted Variables or Data Stores), the flaw allows a non-elevated local user to set environment variables such as OPENSSL_CONF pointing to an attacker-controlled OpenSSL provider DLL, which is then loaded by the privileged client process. The attacker communicates with the service via the openvpn\service named pipe to trigger the privileged client spawn, causing the malicious DLL to execute in the LocalSystem context. A public proof-of-concept (PowerShell and C) is available demonstrating privileged route deletion and WFP filter blocking from a standard user context (Github Advisory, PoC Repository).

Impact

Successful exploitation allows a local authenticated, non-elevated user to execute arbitrary code with LocalSystem privileges, achieving full confidentiality, integrity, and availability compromise of the vulnerable system's OpenVPN client process. An attacker can perform privileged network configuration operations — such as deleting administrator-only routes or blocking outbound traffic via Windows Filtering Platform (WFP) filters — that would normally be denied to standard users. While the exploit does not provide direct remote access, it can serve as an escalation step in a broader attack chain, enabling further lateral movement or persistence on the compromised host (Github Advisory, Feedly).

Exploitabilité

A public proof-of-concept exploit is available on GitHub (published October 31, 2026), implemented in PowerShell and C, and assessed with high confidence as a real, functional exploit (PoC Repository). The PoC demonstrates privilege escalation via environment variable injection and named pipe communication, requiring only a local authenticated user session with no administrator rights. There is currently no evidence of in-the-wild exploitation, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.155%, placing it in the 2nd percentile for near-term exploitation likelihood (Github Advisory, Feedly).

Étapes d’exploitation

  1. Reconnaissance: Confirm the target Windows host is running a vulnerable OpenVPN version (2.4.0–2.6.23 or 2.7_alpha1–2.7.8) with the OpenVPNServiceInteractive service active and running as LocalSystem. Verify access to the openvpn\service named pipe (accessible by default to authenticated users).
  2. Stage malicious OpenSSL provider DLL: Compile or obtain openvpn_route_poc.dll (attacker-controlled OpenSSL provider) and place it in a user-writable directory accessible to the attacker.
  3. Craft malicious OpenSSL configuration: Write an openssl.cnf file that activates the malicious provider DLL via the module = <providerPath> directive.
  4. Set user environment variables: In the attacker's user environment, set OPENSSL_CONF to point to the crafted openssl.cnf, and set OPENVPN_ROUTE_POC_ARM and OPENVPN_ROUTE_POC_IFINDEX to control the payload behavior.
  5. Trigger privileged client spawn via named pipe: Connect to the openvpn\service named pipe and send a UTF-16 encoded message containing the user root path and OpenVPN options (e.g., --config <inert profile> --management 127.0.0.1 38971 --management-hold --verb 3). The Interactive Service spawns the OpenVPN client as LocalSystem, inheriting the attacker's environment variables.
  6. Malicious DLL executes in privileged context: The LocalSystem-spawned OpenVPN client loads the attacker's OpenSSL provider DLL, which executes arbitrary code — demonstrated as deleting an administrator-only route (DeleteIpForwardEntry2) that the standard user cannot delete directly.
  7. Verify and clean up: Confirm the privileged operation succeeded (e.g., route absence), then terminate the client process and clear the injected environment variables to reduce forensic traces (PoC Repository, Feedly).

Indicateurs de compromis

  • Process: Unusual child processes of OpenVPNServiceInteractive (running as LocalSystem) spawning openvpn.exe with non-standard management port arguments (e.g., --management 127.0.0.1 38971); openvpn.exe processes whose owner is a non-administrative user but whose parent is the LocalSystem service.
  • File System: Unexpected DLL files (e.g., openvpn_route_poc.dll) in user-writable directories; presence of attacker-crafted openssl.cnf files in user profile directories referencing non-standard module paths.
  • Logs: Windows Event Logs showing OpenVPNServiceInteractive spawning client processes with unusual command-line arguments; process creation events (Event ID 4688) with openvpn.exe launched by the Interactive Service with management flags.
  • Network: Named pipe (openvpn\service) access events from non-administrative user accounts; unexpected local TCP connections to 127.0.0.1:38971 (management port) from non-OpenVPN processes.
  • Registry/Environment: User environment variables OPENSSL_CONF, OPENVPN_ROUTE_POC_ARM, or OPENVPN_ROUTE_POC_IFINDEX set in the registry under HKCU\Environment for non-administrative accounts on systems running OpenVPN (PoC Repository, Feedly).

Atténuation et solutions de contournement

Update OpenVPN to a version beyond 2.6.23 (stable branch) or 2.7.8 (alpha/development branch) as patched releases have been made available; OpenVPN 2.7.9 is referenced in community coverage as addressing this and related Windows security issues (LinuxIAC, OpenVPN Advisory). As interim workarounds: restrict local user access on systems running vulnerable OpenVPN versions; monitor and audit user environment variable modifications (particularly OPENSSL_CONF) on Windows hosts; implement application whitelisting to prevent unauthorized DLL loading; and consider restricting named pipe access to the openvpn\service pipe for non-administrative users where operationally feasible (Feedly).

Réactions de la communauté

The Canadian Centre for Cyber Security (CCCS) issued a security advisory (AV26-1179) covering this vulnerability (CCCS Advisory). Community coverage noted the release of OpenVPN 2.7.9 as primarily addressing Windows security fixes, with outlets such as LinuxIAC and LinuxCompatible reporting on the patched release (LinuxIAC). Tenable published detection plugins (Nessus plugin 383536 and 386061) for the vulnerability. Overall community sentiment treats this as a moderate-to-high severity local privilege escalation requiring prompt patching, particularly in enterprise environments where OpenVPN is widely deployed on Windows endpoints.

Ressources supplémentaires

État de correction de la distribution Linux

Corrigez la disponibilité entre les grandes distributions Linux et leurs versions.

Debian

Fixé

bookworm

openvpn

Fixé

sid

openvpn

Fixé

trixie

openvpn

Fixé

Ubuntu

Inconnu

bionic (esm-infra)

openvpn

Inconnu

devel

openvpn

Inconnu

focal (esm-infra)

openvpn

Inconnu

jammy

openvpn

Inconnu

noble

openvpn

Inconnu

resolute

openvpn

Inconnu

trusty (esm-infra-legacy)

openvpn

Inconnu

xenial (esm-infra-legacy)

openvpn

Inconnu

Alpine

Fixé

edge

openvpn: 0

Fixé

Source: Ce rapport a été généré à l’aide de l’IA

Connexe OpenVPN Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-115342HIGH8.5
  • OpenVPN logoOpenVPN
  • openvpn
NonOuiNov 19, 2026
CVE-2026-121720HIGH8.5
  • OpenVPN logoOpenVPN
  • openvpn
NonOuiNov 18, 2026
CVE-2026-84471HIGH7.2
  • OpenVPN logoOpenVPN
  • openvpn
NonOuiOct 14, 2026
CVE-2026-106017MEDIUM6.3
  • OpenVPN logoOpenVPN
  • openvpn3-client
NonNonOct 22, 2026
CVE-2026-142094NONEN/A
  • OpenVPN logoOpenVPN
  • openvpn
NonNonDec 03, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités