CVE-2025-10680 Command injection in OpenVPN

High 8.8 Published Updated

A remote authenticated server can inject shell commands via DNS variables in OpenVPN when the --dns-updown option is enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-10680?

CVE-2025-10680 is a high-severity command injection vulnerability in OpenVPN, published on 24 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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

Weakness: CWE-78

Which versions are affected by CVE-2025-10680?

How do I fix CVE-2025-10680?

No fix has been published for CVE-2025-10680 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-10680 being exploited?

There is no known exploitation of CVE-2025-10680 in the wild and no public exploit code.

Sources

Also known as GHSA-wfq6-x28p-qgh6.

Is CVE-2025-10680 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free