
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-19624 is a local privilege escalation vulnerability in NetworkManager-l2tp, the L2TP VPN plugin for NetworkManager. The plugin writes attacker-controlled VPN connection properties (vpn.data and vpn.secrets values) unescaped into a generated ipsec.conf file that the Libreswan pluto daemon loads as root. A local unprivileged user can inject a newline character into a VPN profile property (e.g., the leftupdown directive), causing pluto to execute an arbitrary command as root when the IKE security association is established. Affected versions span multiple release branches: 1.0.x before 1.0.16, 1.2.x before 1.2.22, 1.8.x before 1.8.10, 1.20.x before 1.20.24, and 1.52.x before 1.52.4. The vulnerability has a CVSS v3.1 base score of 7.8 (High) (Feedly, GitHub Releases).
The root cause is improper neutralization of argument delimiters (CWE-88) — specifically, the failure to strip or reject newline and other control characters from user-supplied VPN connection properties before writing them into the ipsec.conf configuration file. Because the file is parsed line-by-line by pluto running as root, an injected newline allows an attacker to introduce arbitrary new directives, most critically leftupdown=<command>, which pluto executes as a shell command upon IKE SA establishment. The fix, applied in commits 95b6b46 and 3704d8c, adds a string_contains_control_char() check that rejects any property value containing ASCII control characters (including \n) in username fields, VPN data items, secrets, and the PLUTODEBUG/CHARONDEBUG environment variables. This vulnerability is in the same bug class as CVE-2018-10900, which affected NetworkManager-vpnc via an identical newline-injection pattern (GitHub Commit 95b6b46, GitHub Commit 3704d8c).
Successful exploitation grants a local unprivileged user full root-level code execution on the affected system, resulting in complete compromise of confidentiality, integrity, and availability. An attacker can read sensitive files (e.g., /etc/shadow, private keys), modify system configuration, install persistent backdoors, or use the compromised host as a pivot point for lateral movement within the network. The impact is scoped to the local machine but is total once exploited (Feedly).
No public proof-of-concept exploit code has been identified, and there is no evidence of in-the-wild exploitation as of the time of disclosure. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires only low privileges (a local user account) and no user interaction, making it straightforward for any local attacker on an affected system with the NetworkManager-l2tp plugin installed and Libreswan configured (Feedly).
pluto) as the IPsec backend.nmcli, create a new L2TP VPN connection profile. Set a VPN data property (e.g., ipsec-remote-id) to a value containing a newline followed by a malicious directive, such as value\nleftupdown=/tmp/evil.sh./tmp/evil.sh) that performs the desired privileged action, such as adding a backdoor user or copying /etc/shadow.nmcli connection up <profile-name> or the NetworkManager GUI. The plugin writes the unescaped property into /run/nm-l2tp-<pid>/ipsec.conf.pluto loads the generated ipsec.conf and establishes the IKE security association, it reads the injected leftupdown directive and executes the specified command as root, completing the privilege escalation (GitHub Commit 95b6b46, Feedly)./tmp or world-writable directories that are executable and owned by a non-root user; presence of unusual scripts referenced in /run/nm-l2tp-*/ipsec.conf./run/nm-l2tp-*/ipsec.conf for lines containing leftupdown pointing to unexpected paths; NetworkManager logs (journalctl -u NetworkManager) showing VPN connection activation by a non-privileged user followed by unexpected root-level process spawning.pluto or ipsec, such as shell scripts, curl, wget, nc, or user-management commands (useradd, passwd).leftupdown.Upgrade NetworkManager-l2tp to a patched release: 1.0.16, 1.2.22, 1.8.10, 1.20.24, or 1.52.4 (or later). Fedora users should apply updates via Bodhi (bodhi.fedoraproject.org). No configuration-based workaround is available; the only effective remediation is upgrading to a fixed version. As an interim measure, restrict local user access to NetworkManager's VPN connection management via polkit policies to limit who can create and activate VPN profiles (GitHub Releases, Fedora Bodhi).
The vulnerability was noted as belonging to the same bug class as CVE-2018-10900 (NetworkManager-vpnc), highlighting a recurring pattern of newline-injection flaws in NetworkManager VPN plugins. A technical write-up was published at linnemanlabs.com detailing the exploitation mechanics. No major vendor statements or widespread media coverage beyond standard vulnerability tracking databases have been identified (Feedly).
Fix availability across major Linux distributions and their releases.
bookworm
network-manager-l2tp
sid
network-manager-l2tp: 1.52.6-1
trixie
network-manager-l2tp: 1.20.20-2+deb13u1
bionic (esm-apps)
network-manager-l2tp
devel
network-manager-l2tp
focal (esm-apps)
network-manager-l2tp
jammy
network-manager-l2tp
jammy (esm-apps)
network-manager-l2tp
noble
network-manager-l2tp
noble (esm-apps)
network-manager-l2tp
resolute
network-manager-l2tp
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."