CVE-2025-3908 Path traversal in OpenVPN 3 Linux

Medium 6.2 Published Updated

A local attacker can exploit symlink handling in the configuration tool to change ownership and permissions of arbitrary directories, leading to privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-3908?

CVE-2025-3908 is a medium-severity path traversal vulnerability in OpenVPN 3 Linux, published on 19 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The configuration initialization tool in OpenVPN 3 Linux v20 through v24 on Linux allows a local attacker to use symlinks pointing at an arbitrary directory which will change the ownership and permissions of that destination directory.

Weakness: CWE-59

Which versions are affected by CVE-2025-3908?

It affects 1 product.

Products include Openvpn Openvpn3linux.

How do I fix CVE-2025-3908?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-3908 being exploited?

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

Sources

Also known as DEBIAN-CVE-2025-3908, GHSA-fp2g-4h6f-28h2, UBUNTU-CVE-2025-3908.

Is CVE-2025-3908 in your software?

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

Check your SBOMs for free