OpenVPN
CVE-2025-10680
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim client connects to attacker-controlled server
-
DeliveryServer pushes malicious DNS variables
-
ExploitInjected metacharacters reach dns-updown handler
-
ExecutionShell commands execute on client host
-
ImpactClient system compromised
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires ALL of the following: (1) the victim runs OpenVPN 2.7_alpha1 through 2.7_beta1 on a POSIX-based platform; (2) the client is configured with the --dns-updown option in use (non-default, since this is the specific feature parsing the DNS variables); and (3) the victim connects to a server the attacker controls or has compromised, as the malicious DNS variables are delivered through server-pushed configuration. Limiting factors: production/stable OpenVPN releases are NOT affected, the vulnerable --dns-updown mode must be explicitly in use, and the attack only works client-side against a client that establishes a session with the hostile server - it does not expose a listening service to arbitrary unauthenticated internet attackers. |
| Impact | The CVSS 3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects full compromise via network-reachable, low-complexity command injection (CWE-78), but the real-world risk is substantially narrowed by two factors the raw score obscures. First, the affected code exists ONLY in pre-release builds (2.7_alpha1 through 2.7_beta1), which are not deployed at production scale. Second, the threat model is inverted from a typical server-side RCE: the 'remote authenticated server' is the attacker, meaning a malicious or compromised OpenVPN server injects shell commands onto a connecting CLIENT via pushed DNS variables, and only when that client runs with --dns-updown enabled. No EPSS score, KEV listing, or POC was provided in the input, so exploitation probability cannot be quantified from the data; absence of these is not evidence of safety but does mean there is no public exploit identified at time of analysis. Net assessment: a genuine high-severity flaw for anyone running 2.7 development builds with --dns-updown, but low aggregate priority for the general population because production releases are unaffected and exploitation requires the victim to connect to an attacker-controlled server. |
| Exploit ScenarioDerived | A victim runs an OpenVPN 2.7 alpha/beta client on a POSIX system with --dns-updown enabled and connects to a malicious or compromised VPN server. The server pushes DNS configuration containing shell metacharacters in DNS variables, which are passed unsanitized into the dns-updown handler and executed as arbitrary shell commands on the client. No public exploit was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
OpenVPN 2.7 pre-release builds (2.7_alpha1 through 2.7_beta1) on POSIX platforms allow a malicious or compromised OpenVPN server to inject arbitrary shell commands into the connecting client when the non-default --dns-updown option is enabled. The server supplies crafted DNS variables that are consumed by the client's DNS up/down scripting path, resulting in command execution at the privilege of the OpenVPN process (CVSS 8.8). Stable OpenVPN releases are not affected, and no public exploit is identified at time of analysis.
RemediationAI
Upgrade to a fixed OpenVPN 2.7 build as identified in the vendor advisory; the supplied data does not specify an exact fixed version, so verify the patched release at https://community.openvpn.net/Security%20Announcements/CVE-2025-10680 before deploying. If the 2.7 pre-release cannot be updated immediately, remove exposure by not using the non-default --dns-updown option and by connecting only to trusted OpenVPN servers; disabling --dns-updown may break DNS-triggered up/down scripts. Running the OpenVPN client with reduced privileges (non-root, minimal capabilities) limits the impact of any injected command, though it may affect interface and route configuration. Stable OpenVPN releases are not affected and can serve as a fallback where 2.7-specific features are not required.
Affected ProductsAI
OpenVPN 2.7_alpha1 through 2.7_beta1 on POSIX-based platforms are affected. Production and stable branches, including 2.6.x and earlier, are reported as not affected. No CPE identifiers were supplied in the input data; the vendor advisory at https://community.openvpn.net/Security%20Announcements/CVE-2025-10680 and the openvpn-announce post at https://www.mail-archive.com/openvpn-announce@lists.sourceforge.net/msg00149.html provide the authoritative version guidance.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an OS command injection (CWE-78) in OpenVPN's client-side DNS configuration handling. The --dns-updown option causes the client to invoke scripts when DNS settings change; DNS parameters pushed by the server, such as dhcp-option DNS values, are incorporated into that scripting path without sufficient sanitization. On POSIX systems a hostile server can embed shell metacharacters in those values, so when the client runs the up/down script the injected commands execute with the privileges of the OpenVPN process, commonly root or elevated capabilities. The issue is confined to the 2.7 development line from alpha1 through beta1 and requires the client to use --dns-updown and connect to an attacker-controlled or compromised server; it is not a listening service exposed to arbitrary unauthenticated internet attackers.
Know when Openvpn 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Remote server pushes data over the established session (AV:N, UI:N); the malicious actor is the authenticated peer server (PR:L); shell command execution on the client yields full C/I/A impact.
Primary rating from Vendor (openvpn).
CVSS VectorVendor: openvpn
DescriptionCVE.org
OpenVPN 2.7_alpha1 through 2.7_beta1 on POSIX based platforms allows a remote authenticated server to inject shell commands via DNS variables when --dns-updown is in use
Executive ViewAI
The OpenVPN 2.7 pre-release client line carries a high-severity command-execution risk for POSIX users who connect to untrusted or compromised servers with the optional DNS up/down feature enabled. Leadership should focus on whether any development or early-adopter systems are running 2.7_alpha1 through 2.7_beta1, since production stable OpenVPN deployments are outside the affected population. If such pre-release clients are present, an attacker-controlled server could execute commands with the client process's privileges, creating a meaningful but configuration-dependent exposure.
No vendor-released patch identified at time of analysis; disable the non-default --dns-updown option, remove or isolate OpenVPN 2.7_alpha1 through 2.7_beta1 builds, connect only to trusted servers, and migrate to a supported stable release.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
A cross-protocol scripting issue was discovered in the management interface in OpenVPN through 2.4.5. Rated critical sev
OpenVPN version 2.3.12 and newer is vulnerable to unauthenticated Denial of Service of server via received large control
OpenVPN Connect 3.1.0.361 on Windows has Insecure Permissions for %PROGRAMDATA%\OpenVPN Connect\drivers\tap\amd64\win10,
openvpnserv.exe (aka the interactive service helper) in OpenVPN 2.4.x before 2.4.6 allows a local attacker to cause a do
CRLF injection vulnerability in the web interface in OpenVPN Access Server 2.1.4 allows remote attackers to inject arbit
OpenVPN plug-ins on Windows with OpenVPN 2.6.9 and earlier could be loaded from any directory, which allows an attacker
Multiple cross-site request forgery (CSRF) vulnerabilities in the XML-RPC API in the Desktop Client in OpenVPN Access Se
Use after free in OpenVPN version 2.6.0 to 2.6.6 may lead to undefined behavoir, leaking memory buffers or remote execut
Comodo Dome Firewall 2.7.0 contains a reflected cross-site scripting vulnerability that allows attackers to inject malic
Comodo Dome Firewall 2.7.0 contains multiple reflected cross-site scripting vulnerabilities in the openvpn_users endpoin
OpenVPN versions before 2.3.3 and 2.4.x before 2.4.4 are vulnerable to a buffer overflow vulnerability when key-method 1
tap-windows6 driver version 9.26 and earlier does not properly check the size data of incomming write operations which a
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB