Skip to main content
Mallory
UnratedVulnerability

CVE-2026-142125: OpenVPN DNS Script Helper Local Privilege Escalation

Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days7 mentions · peak 5 in a dayToday
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-142125CWE-377

OpenVPN 2.7 alpha1 through 2.7.9 contains a local privilege-escalation vulnerability in the --dns-updown script execution mechanism on POSIX systems. When the main process drops privileges through --user, a separate root-privileged helper remains available to execute DNS configuration scripts. The main process passes DNS variables through a temporary file that the helper sources without validating its path or ownership. An attacker already executing code as the configured unprivileged account can exploit control over this file to execute code as root.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation elevates an attacker from the OpenVPN privilege-drop account to root, potentially compromising the confidentiality, integrity, and availability of the host. The vulnerability is conditional on DNS script use and privilege dropping; it is not an unauthenticated remote route to root on default installations.

Mitigation

If you can’t patch tonight, do this now.

Until the fix is deployed, disable --dns-updown and its DNS script integration where operationally feasible, arranging DNS configuration through a separate trusted mechanism. Review deployed profiles to identify installations combining DNS scripts with --user privilege dropping. Do not remove privilege dropping as a workaround.

Remediation

Patch, then assume compromise.

Upgrade OpenVPN Community Edition to version 2.7.10 or a later release containing the fix. Version 2.7.10 replaces the temporary-file transfer with a pipe and restricts accepted DNS variable names. For distribution packages or OpenVPN Access Server, obtain the applicable fix through the vendor's update channel. Restart the service, verify the running version, and test VPN connectivity and DNS updates.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-142125 exploited in the wild?
As of Dec 4, 2026, Mallory has no reports of CVE-2026-142125 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-142125?
As of Dec 4, 2026, Mallory has found no public exploit for CVE-2026-142125.
Is there a patch for CVE-2026-142125?
Upgrade OpenVPN Community Edition to version 2.7.10 or a later release containing the fix. Version 2.7.10 replaces the temporary-file transfer with a pipe and restricts accepted DNS variable names.
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
brandefenseNews · Dec 4, 2026OpenVPN 2.7.10: Two Security Fixes - BrandefenseA conditional local privilege-escalation vulnerability in OpenVPN 2.7 alpha1 through 2.7.9 on POSIX systems. Exploitation requires a DNS updown script, privilege dropping through --user, and prior attacker code execution as that account. The privileged DNS runner sources a temporary file without validating its path or ownership, allowing lower-privileged control to cross into root execution. This is not an unauthenticated remote route to root. OpenVPN 2.7.10 replaces the temporary-file mechanism with a pipe and restricts accepted DNS variable names.Read more ↗cryptika blogNews · Dec 4, 2026Three OpenVPN Flaws Let Attackers Crash VPN Servers and Gain Root Access | Cryptika CybersecurityA privilege escalation vulnerability in OpenVPN's --dns-updown feature and DNS configuration script helper on non-Windows systems can allow elevated permissions, potentially including root. Exposure depends on use of the affected option; the content does not establish unauthenticated remote root access on default servers. Fixed in OpenVPN 2.7.10.Read more ↗cyber security newsNews · Dec 4, 2026Three OpenVPN Flaws Let Attackers Crash VPN Servers and Gain Root AccessA privilege-escalation vulnerability in OpenVPN's --dns-updown feature and DNS configuration script helper on non-Windows systems can allow elevated permissions, potentially including root. Exposure depends on use of the affected feature; the content does not establish unauthenticated remote root access on default installations. OpenVPN 2.7.10 includes a fix.Read more ↗
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.