CVE-2026-19624NetworkManager-l2tp: local privilege escalation via ipsec.conf injection
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).
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | network-manager-l2tp | Fix pending | UBUNTU-CVE-2026-19624 | |
| Ubuntu 26.04 | network-manager-l2tp | Under investigation | UBUNTU-CVE-2026-19624 | |
| Ubuntu 24.04 | network-manager-l2tp | Under investigation | UBUNTU-CVE-2026-19624 | |
| Ubuntu 22.04 | network-manager-l2tp | Under investigation | UBUNTU-CVE-2026-19624 | |
| Ubuntu 20.04 | network-manager-l2tp | Fix pending | UBUNTU-CVE-2026-19624 | |
| Ubuntu 18.04 | network-manager-l2tp | Fix pending | UBUNTU-CVE-2026-19624 | |
| Debian 14 | network-manager-l2tp | Fixed | 1.52.6-1 | DEBIAN-CVE-2026-19624 |
| Debian 13 | network-manager-l2tp | Fixed | 1.20.20-2+deb13u1 | DEBIAN-CVE-2026-19624 |
| Debian 12 | network-manager-l2tp | Fixed | 1.20.8-1+deb12u1 | DEBIAN-CVE-2026-19624 |
What the vendor says
As published in the CVE record by fedora, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NetworkManager-l2tp: affected: 1.0.0 to before 1.0.16, 1.2.0 to before 1.2.22, 1.8.0 to before 1.8.10, 1.20.0 to before 1.20.24, 1.52.0 to before 1.52.4; fixed in
1.0.16,1.2.22,1.8.10,1.20.24,1.52.4 - Fedora: affected: 1.52.0 to before 1.52.4; fixed in
1.52.4 - Fedora Extra Packages for Enterprise Linux (EPEL): affected: 1.20.0 to before 1.20.24; fixed in
1.20.24
Vendor advisories:
- https://github.com/nm-l2tp/NetworkManager-l2tp/commit/95b6b46f48a0c9eabc79272cd313f219110… (patch)
- https://github.com/nm-l2tp/NetworkManager-l2tp/commit/3704d8c9d5e5f9ed1626a8ce7627a04247c… (patch)
- https://github.com/nm-l2tp/NetworkManager-l2tp/releases (release-notes)
- https://bodhi.fedoraproject.org/updates/?packages=NetworkManager-l2tp (vendor-advisory)
References
- 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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.