Distro News

Ubuntu fixes three NetworkManager-l2tp privilege escalation flaws via Ubuntu Pro ESM

Key Takeaway

NetworkManager-l2tp failed to sanitize IPsec config properties, escape the VPN username, and validate MRU/MTU values before writing them to pppd and IPsec files, letting a local attacker escalate to administrator.

Summary

Ubuntu published USN-9300-1 covering three local privilege escalation vulnerabilities in network-manager-l2tp, the L2TP VPN plugin for NetworkManager. The flaws stem from unsanitized VPN connection properties written into the generated IPsec configuration file (CVE-2026-19624), an unescaped VPN username written into the pppd options file (CVE-2026-75131), and missing validation of MRU and MTU values written into the same pppd options file (CVE-2026-93337). In each case a local attacker could potentially run programs with administrator privileges.

The advisory covers five Ubuntu LTS releases: 26.04 LTS (resolute), 24.04 LTS (noble), 22.04 LTS (jammy), 20.04 LTS (focal) and 18.04 LTS (bionic). Fixed package versions are published for each release, but all of them are delivered through Ubuntu Pro's ESM Apps channel, with the notice stating a community fix might become publicly available in the future. A standard system update applies the corrected packages once the ESM repository is enabled.

How the l2tp plugin turns VPN settings into root

  • IPsec config injection (CVE-2026-19624): Connection properties are written into the generated IPsec configuration file without sanitization, so crafted values can alter the file the plugin hands to the IPsec stack.
  • pppd options injection (CVE-2026-75131): The VPN username is written into the pppd options file without escaping, allowing a username containing option syntax to inject additional pppd directives.
  • MRU/MTU validation gap (CVE-2026-93337): The MRU and MTU values are not validated before being written to the pppd options file, giving a third path to influence the generated configuration.
  • Impact class: All three are local privilege escalation issues, since the generated files are consumed by privileged components of the VPN stack.
  • Fixed versions: 1.52.0-2ubuntu0.1~esm1 (26.04), 1.20.12-1ubuntu0.1~esm1 (24.04), 1.20.0-1ubuntu0.1~esm1 (22.04), 1.2.16-1ubuntu0.1~esm1 (20.04) and 1.2.8-2ubuntu0.1~esm1 (18.04), all via Ubuntu Pro ESM Apps.

Why it matters

NetworkManager-l2tp is the standard way Ubuntu desktops and laptops connect to L2TP/IPsec VPNs, so the fixes matter for any machine where multiple local users can define or edit VPN connections. Because the corrected packages ship only through Ubuntu Pro ESM Apps for all five affected LTS releases, administrators without an attached Pro subscription remain exposed until a community fix appears. The pattern of configuration-file injection in a NetworkManager plugin is also a reminder for maintainers of other VPN plugins that user-supplied properties must be escaped before reaching pppd or IPsec configs.

Original reference: ubuntu.com →