Skip to main content

OpenVPN CVE-2025-10680

HIGH
OS Command Injection (CWE-78)
2025-10-24 security@openvpn.net
8.8
CVSS 3.1 · Vendor: openvpn
View

Attack ChainAIDerived

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

  1. Access
    Victim client connects to attacker-controlled server
  2. Delivery
    Server pushes malicious DNS variables
  3. Exploit
    Injected metacharacters reach dns-updown handler
  4. Execution
    Shell commands execute on client host
  5. Impact
    Client 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 7.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (openvpn) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

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 Vendor (openvpn).

CVSS VectorVendor: openvpn

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

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
7.3%
Top 6% exploitable
Prevalence
Low
only alpha/beta pre-release 2.7 builds affected, minimal production footprint
Data Quality
2 sources
Confidence: Low

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 7.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

CVE-2018-7544 CRITICAL POC
9.1 Mar 16

A cross-protocol scripting issue was discovered in the management interface in OpenVPN through 2.4.5. Rated critical sev

CVE-2017-7478 HIGH POC
7.5 May 15

OpenVPN version 2.3.12 and newer is vulnerable to unauthenticated Denial of Service of server via received large control

CVE-2020-9442 HIGH POC
7.8 Feb 28

OpenVPN Connect 3.1.0.361 on Windows has Insecure Permissions for %PROGRAMDATA%\OpenVPN Connect\drivers\tap\amd64\win10,

CVE-2018-9336 HIGH POC
7.8 May 01

openvpnserv.exe (aka the interactive service helper) in OpenVPN 2.4.x before 2.4.6 allows a local attacker to cause a do

CVE-2017-5868 MEDIUM POC
6.1 May 26

CRLF injection vulnerability in the web interface in OpenVPN Access Server 2.1.4 allows remote attackers to inject arbit

CVE-2024-27903 CRITICAL
9.8 Jul 08

OpenVPN plug-ins on Windows with OpenVPN 2.6.9 and earlier could be loaded from any directory, which allows an attacker

CVE-2014-9104 MEDIUM POC
6.8 Nov 26

Multiple cross-site request forgery (CSRF) vulnerabilities in the XML-RPC API in the Desktop Client in OpenVPN Access Se

CVE-2023-46850 CRITICAL
9.8 Nov 11

Use after free in OpenVPN version 2.6.0 to 2.6.6 may lead to undefined behavoir, leaking memory buffers or remote execut

CVE-2019-25429 MEDIUM POC
6.1 Feb 19

Comodo Dome Firewall 2.7.0 contains a reflected cross-site scripting vulnerability that allows attackers to inject malic

CVE-2019-25428 MEDIUM POC
6.1 Feb 19

Comodo Dome Firewall 2.7.0 contains multiple reflected cross-site scripting vulnerabilities in the openvpn_users endpoin

CVE-2017-12166 CRITICAL
9.8 Oct 04

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

CVE-2024-1305 CRITICAL
9.8 Jul 08

tap-windows6 driver version 9.26 and earlier does not properly check the size data of incomming write operations which a

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