CVE-2026-91840

Networkmanager-vpnc: networkmanager-vpnc: local privilege escalation to root via newline injection in vpn username

Published Sep 25, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
A flaw was found in NetworkManager-vpnc. This vulnerability allows a local unprivileged user to escalate privileges to root. By injecting a newline character into the VPN username field, an attacker can manipulate the vpnc configuration to execute an arbitrary program with root privileges when the malicious VPN connection is activated.

Analysis

AI-generated

Technical impact

A flaw in NetworkManager-vpnc enables a local unprivileged user to inject a newline character into the VPN username field. When the malicious VPN connection is activated, the injected newline corrupts the vpnc configuration, allowing the attacker to execute an arbitrary program with root privileges. This elevates the user’s access level from unprivileged to full system control, permitting any action an administrator could normally perform, including installation of software, modification of system files, and persistence mechanisms.

Affected Systems

General‑purpose Linux systems that ship the GNOME NetworkManager‑vpnc package. All released versions of the NetworkManager‑vpnc component are impacted, as no specific version ranges have been isolated. Any distribution that includes NetworkManager‑vpnc without a subsequent upstream fix is vulnerable, regardless of how the VPN client is invoked.

Risk and Exploitability

The vulnerability has a CVSS score of 7.8, indicating high severity, and it is exploitable locally with no authentication. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers require only local access and no additional credentials; once the vpn connection is established, the privilege escalation occurs immediately. Because the escalation is local, it is suitable for targeted attacks against multi‑user environments or shared workstations.

Remediation

Vendor Workaround

If vpnc VPN connections are not required, the NetworkManager-vpnc package can be removed to eliminate the vulnerability. This action will prevent the system from establishing vpnc-based VPN connections. To remove the package, execute the following command as root: `# dnf remove NetworkManager-vpnc` Note that removing this package may impact functionality if vpnc VPNs are actively used.


OpenCVE Recommended Actions

  • Remove the NetworkManager‑vpnc package with the command `dnf remove NetworkManager‑vpnc` if vpnc VPN connections are not required.
  • If vpnc VPN functionality is needed, migrate to a different VPN technology such as OpenVPN or WireGuard that does not use NetworkManager‑vpnc.
  • Restrict which users can establish vpnc connections by configuring appropriate ACLs or moving the `vpnc` binary to a restricted group and setting the `setuid` flag appropriately.
  • Once an upstream patch or official fix is released for NetworkManager‑vpnc, apply it to eliminate the vulnerability.

Generated by OpenCVE AI on September 25, 2026 at 20:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gnome
Gnome network Manager Vpnc
Vendors & Products Gnome
Gnome network Manager Vpnc
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in NetworkManager-vpnc. This vulnerability allows a local unprivileged user to escalate privileges to root. By injecting a newline character into the VPN username field, an attacker can manipulate the vpnc configuration to execute an arbitrary program with root privileges when the malicious VPN connection is activated.
Title Networkmanager-vpnc: networkmanager-vpnc: local privilege escalation to root via newline injection in vpn username
Weaknesses CWE-93
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Sep 28, 2026, 12:44 PM
Reserved
Sep 15, 2026, 8:28 AM
Status
Deferred
Published
Sep 25, 2026, 6:17 PM
Modified
Sep 30, 2026, 7:57 PM