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.
Published: 2026-09-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Local Privilege Escalation to Root
Action: Remove Package
AI Analysis

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.

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

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 yet.

History

Tue, 29 Sep 2026 17:30:00 +0000

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'}


Sun, 27 Sep 2026 12:15:00 +0000

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

Fri, 25 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 25 Sep 2026 18:00:00 +0000

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'}


Subscriptions

Gnome Network Manager Vpnc
cve-icon MITRE

Status: PUBLISHED

Assigner: fedora

Published:

Updated: 2026-09-28T12:44:17.583Z

Reserved: 2026-09-15T08:28:01.333Z

Link: CVE-2026-91840

cve-icon Vulnrichment

Updated: 2026-09-25T18:15:07.267Z

cve-icon NVD

Status : Deferred

Published: 2026-09-25T18:17:32.793

Modified: 2026-09-30T19:57:08.043

Link: CVE-2026-91840

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:43:29Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')