NetworkManager-l2tp: local privilege escalation via ipsec.conf injection
cve-program · CVE-2026-19624
PublishedA 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).
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-19624 · CVE overview and exploitation status
cve-program · CVE-2026-19624
- https://github.com/nm-l2tp/NetworkManager-l2tp/commit/95b6b46f48a0c9eabc79272cd313f219110ef91c
- https://github.com/nm-l2tp/NetworkManager-l2tp/commit/3704d8c9d5e5f9ed1626a8ce7627a04247cea673
- https://github.com/nm-l2tp/NetworkManager-l2tp/releases
- https://bodhi.fedoraproject.org/updates/?packages=NetworkManager-l2tp
- https://linnemanlabs.com/posts/nm-l2tp-newline-to-root/
Related changes
Linked by CVE identifierNo related changes are available here.