Two vulnerabilities were identified in the GNOME Display Manager (gdm3). One issue involves improper handling of environment variables during session reauthentication, which could allow a local attacker to execute arbitrary code as root, leading to privilege escalation. The other vulnerability affects Ubuntu 26.10 specifically, where insufficient authorization checks when creating remote display sessions could let a local attacker bypass automatic login restrictions and start a session as an arbitrary user, also resulting in privilege escalation. Fixes for these issues have been released across multiple Ubuntu versions.