Bug 2533642 (CVE-2026-91840) - CVE-2026-91840 NetworkManager-vpnc: NetworkManager-vpnc: local privilege escalation to root via newline injection in VPN username
Summary: CVE-2026-91840 NetworkManager-vpnc: NetworkManager-vpnc: local privilege esca...
Keywords:
Status: NEW
Alias: CVE-2026-91840
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2533692
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-15 09:51 UTC by OSIDB Bzimport
Modified: 2026-09-15 10:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-15 09:51:56 UTC
A privilege escalation flaw was found in NetworkManager-vpnc, the vpnc VPN plugin for NetworkManager. nm-vpnc-service validates plugin-specific VPN configuration items for embedded newline characters, but omits the top-level NMSettingVpn user-name property from this check. This unvalidated username is later serialized verbatim into vpnc's configuration as an "Xauth username" directive. A local unprivileged user can create a VPN profile whose username contains a newline character followed by a "Password helper" directive, causing the root-privileged vpnc process to parse the injected directive and execute an attacker-chosen helper program with UID/EUID 0 when the malicious VPN connection is activated.


Note You need to log in before you can comment on or make changes to this bug.