USN-6851-1
Andreas Hasenack discovered that netplan incorrectly handled the permissions for netdev files containing wireguard configuration. An attacker could use this to obtain wireguard secret keys. It was discovered that netplan configuration could be manipulated into injecting arbitrary commands while setting up network interfaces. An attacker could use this to execute arbitrary commands or escalate privileges. Update Instructions: Run `sudo pro fix USN-6851-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: netplan.io - 0.104-0ubuntu2~20.04.5 libnetplan0 - 0.104-0ubuntu2~20.04.5 libnetplan-dev - 0.104-0ubuntu2~20.04.5 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T05:50:43.533Z UTC
Upstream Advisory
Affected Packages
netplan.io 0.104-0ubuntu2~20.04.5-0.104-0ubuntu2~20.04.5
libnetplan0 0.104-0ubuntu2~20.04.5-0.104-0ubuntu2~20.04.5
libnetplan-dev 0.104-0ubuntu2~20.04.5-0.104-0ubuntu2~20.04.5
netplan.io 0.106.1-7ubuntu0.22.04.3-0.106.1-7ubuntu0.22.04.3
libnetplan0 0.106.1-7ubuntu0.22.04.3-0.106.1-7ubuntu0.22.04.3
libnetplan-dev 0.106.1-7ubuntu0.22.04.3-0.106.1-7ubuntu0.22.04.3
netplan.io 1.0-2ubuntu1.1-1.0-2ubuntu1.1
netplan-generator 1.0-2ubuntu1.1-1.0-2ubuntu1.1
libnetplan1 1.0-2ubuntu1.1-1.0-2ubuntu1.1
python3-netplan 1.0-2ubuntu1.1-1.0-2ubuntu1.1
libnetplan-dev 1.0-2ubuntu1.1-1.0-2ubuntu1.1