Link following in systemd - CVE-2012-0871
Published: April 18, 2014 / Updated: November 25, 2026
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The session_link_x11_socket function in login/logind-session.c in systemd-logind in systemd, possibly 37 and earlier, allows local users to create or overwrite arbitrary files via a symlink attack on the X11 user directory in /run/user/.