7.8High

CVE-2026-19624NetworkManager-l2tp: local privilege escalation via ipsec.conf injection

NetworkManager-l2tp; Fedora Fedora; Fedora Extra Packages for Enterprise Linux (EPEL) Published: (2 months ago)

Description

A flaw was found in NetworkManager-l2tp. The plugin writes attacker-controlled VPN connection properties (vpn.data and vpn.secrets values) unescaped into a generated ipsec.conf file that pluto loads as root. A local unprivileged user can create and activate their own L2TP VPN profile containing a newline-injected leftupdown directive; pluto executes that command as root when the IKE security association is established, resulting in local privilege escalation. This is the same bug class as CVE-2018-10900 (NetworkManager-vpnc).

Weakness (CWE): CWE-88

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Fedora Extra Packages for Enterprise Linux (EPEL) 1.20.0 – < 1.20.24
Fedora Fedora 1.52.0 – < 1.52.4
— NetworkManager-l2tp 1.0.0 – < 1.0.16, 1.2.0 – < 1.2.22, 1.8.0 – < 1.8.10, 1.20.0 – < 1.20.24, 1.52.0 – < 1.52.4

References and patches