CVE-2024-4877 Privilege escalation in OpenVPN

High 8.8 Published Updated

A local attacker can escalate privileges by creating a named pipe that the OpenVPN GUI connects to, allowing unauthorized access to higher privileges.

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-2024-4877?

CVE-2024-4877 is a high-severity vulnerability in OpenVPN, published on 3 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenVPN version 2.4.0 through 2.6.10 on Windows allows an external, lesser privileged process to create a named pipe which the OpenVPN GUI component would connect to allowing it to escalate its privileges

Weakness: CWE-268

Which versions are affected by CVE-2024-4877?

It affects 1 product.

Products include Openvpn Openvpn.

How do I fix CVE-2024-4877?

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

Is CVE-2024-4877 being exploited?

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

Sources

Also known as GHSA-c26r-vw7p-2m7h.

Is CVE-2024-4877 in your software?

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

Check your SBOMs for free