CVE-2026-132858: Gdm: missing authorization on createremotedisplay allows autologin as arbitrary users, including root
A flaw was found in gdm 51. The CreateRemoteDisplay D-Bus method performs no authorization check, unlike the neighboring CreateUserDisplay and DestroyUserDisplay methods, and the system bus policy grants the gdm group access to the RemoteDisplayFactory. Code running in the greeter, whose dynamic user carries the gdm group, can call CreateRemoteDisplay with an arbitrary username; the supplied name is stored as the display's autologin-user and bypasses the seat, enabled, and configured-user checks that guard automatic login, opening a session as the named user (root included) through the gdm-direct-login PAM service, whose auth stack is sufficient pampermit.
Other sources
A flaw was found in gdm. The CreateRemoteDisplay D-Bus method fails to perform proper authorization checks when initiating a remote display session. A local attacker with access to the login screen environment can invoke this method with an arbitrary username to bypass standard automatic login verification checks. This vulnerability allows the attacker to achieve privilege escalation and start an unauthorized session as any user on the system, including root.
— MITRE
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems running GDM are exposed if an attacker can access the login screen environment locally. The attacker must already have low-level local privileges or access sufficient to invoke the CreateRemoteDisplay D-Bus method.
What does an attacker need to exploit it?
The attacker needs local access to the login screen environment and the ability to call GDM's CreateRemoteDisplay D-Bus method. No user interaction is required, and the method can be supplied with an arbitrary username.
What is the practical impact of successful exploitation?
An attacker can bypass normal automatic-login verification and start an unauthorized session as any system user. This includes root, resulting in full compromise of confidentiality, integrity, and availability.