Found in netOrk's security sweep of 2026-11-12; the netOrk side is NetOrk/netork#2456.
system_mixin.set_hostname() runs postconf -e 'myhostname = {fqdn}', hostname '{short_hostname}' and the /etc/pve/nodes/<old> → <new> move with the paths in single quotes of their own. A name with a single quote ends them: x';reboot;' runs reboot as root. netOrk now validates hostnames as RFC 1123 names before it calls set_hostname, but the driver should not depend on its caller for that. (/etc/hostname, /etc/hosts and /etc/mailname are written through base64 and are not affected.)
Fix:shlex.quote the values in those commands.
Prio: P4
Found in netOrk's security sweep of 2026-11-12; the netOrk side is NetOrk/netork#2456.
`system_mixin.set_hostname()` runs `postconf -e 'myhostname = {fqdn}'`, `hostname '{short_hostname}'` and the `/etc/pve/nodes/<old>` → `<new>` move with the paths in single quotes of their own. A name with a single quote ends them: `x';reboot;'` runs `reboot` as root. netOrk now validates hostnames as RFC 1123 names before it calls `set_hostname`, but the driver should not depend on its caller for that. (`/etc/hostname`, `/etc/hosts` and `/etc/mailname` are written through base64 and are not affected.)
**Fix:** `shlex.quote` the values in those commands.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Prio: P4
Found in netOrk's security sweep of 2026-11-12; the netOrk side is NetOrk/netork#2456.
system_mixin.set_hostname()runspostconf -e 'myhostname = {fqdn}',hostname '{short_hostname}'and the/etc/pve/nodes/<old>→<new>move with the paths in single quotes of their own. A name with a single quote ends them:x';reboot;'runsrebootas root. netOrk now validates hostnames as RFC 1123 names before it callsset_hostname, but the driver should not depend on its caller for that. (/etc/hostname,/etc/hostsand/etc/mailnameare written through base64 and are not affected.)Fix:
shlex.quotethe values in those commands.