Skip to content
OpenAdvisories
High · 7.8 CVE-2026-19624 EUVD-2026-77774GHSA-4533-c5f5-j3h9

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

Published Sep 14, 2026 · Updated Sep 14, 2026 · Assigned by fedora

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).

Affected products

VendorProductAffectedFixed
— 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 1.0.16
Fedora Fedora 1.52.0 – < 1.52.4 1.52.4
Fedora Extra Packages for Enterprise Linux (EPEL) 1.20.0 – < 1.20.24 1.20.24

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 network-manager-l2tp 1.52.6-1 —
Debian 13 network-manager-l2tp 1.20.20-2+deb13u1 —
Debian 12 network-manager-l2tp 1.20.8-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 network-manager-l2tp No fix yet —
Ubuntu 26.04 LTS network-manager-l2tp No fix yet —
Ubuntu 24.04 LTS network-manager-l2tp No fix yet —
Ubuntu 22.04 LTS network-manager-l2tp No fix yet —
Ubuntu 20.04 LTS network-manager-l2tp No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS network-manager-l2tp No fix yet —

References