6.3 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Systemd: systemd-tmpfiles symlink-redirected arbitrary file overwrite via a chase_safe root-to-unprivileged ownership transition bypass
A flaw was found in systemd-tmpfiles. When processing a tmpfiles.d configuration entry that writes to a file, systemd-tmpfiles can follow a symbolic link placed by an unprivileged local user, and an existing safety check does not detect this specific case because it always treats transitions away from the root user as safe. On systems where a tmpfiles.d configuration targets a path an unprivileged user can influence, this could allow that user to redirect a privileged systemd-tmpfiles write to a file of their choosing, though the content written remains determined by the existing configuration rather than by the unprivileged user. The highest threat from this vulnerability is to integrity.
References
Affected products
Matching in nixpkgs
pkgs.udev
System and service manager for Linux
pkgs.systemd
System and service manager for Linux
pkgs.systemd-lsp
Language server implementation for systemd unit files made in Rust
-
nixos-unstable -
- nixos-unstable-small 2026.01.06
-
nixos-26.05 -
- nixos-26.05-small 2026.01.06
pkgs.systemdLibs
System and service manager for Linux
pkgs.rofi-systemd
Control your systemd units using rofi
pkgs.systemd-wait
Wait for a systemd unit to enter a specific state
-
nixos-unstable -
- nixos-unstable-small 0.1+2018-10-05
-
nixos-26.05 -
- nixos-26.05-small 0.1+2018-10-05
pkgs.systemdUkify
System and service manager for Linux
pkgs.systemdgenie
Systemd management utility
-
nixos-unstable -
- nixos-unstable-small 0.99.0-unstable-2026-07-03
-
nixos-26.05 -
- nixos-26.05-small 0.99.0-unstable-2026-05-03
pkgs.systemdMinimal
System and service manager for Linux
pkgs.systemd-netlogd
Forwards messages from the journal to other hosts over the network
pkgs.systemd-bootchart
Boot performance graphing tool from systemd
pkgs.systemd-credsubst
envsubst for systemd credentials
pkgs.systemd-manager-tui
Program for managing systemd services through a TUI
pkgs.systemd-journal2gelf
Export entries from systemd's journal and send them to a graylog server using gelf
-
nixos-unstable -
- nixos-unstable-small 0-unstable-2023-03-10
-
nixos-26.05 -
- nixos-26.05-small 0-unstable-2023-03-10
pkgs.systemd-lock-handler
Translates systemd-system lock/sleep signals into systemd-user target activations
pkgs.ocamlPackages.systemd
OCaml module for native access to the systemd facilities
pkgs.phpExtensions.systemd
PHP extension allowing native interaction with systemd and its journal
-
nixos-unstable -
- nixos-unstable-small 0.1.2-unstable-2018-06-11
-
nixos-26.05 -
- nixos-26.05-small 0.1.2-unstable-2018-06-11
pkgs.haskellPackages.systemd
Systemd facilities (Socket activation, Notify)
pkgs.php82Extensions.systemd
PHP extension allowing native interaction with systemd and its journal
-
nixos-unstable -
- nixos-unstable-small 0.1.2-unstable-2018-06-11
-
nixos-26.05 -
- nixos-26.05-small 0.1.2-unstable-2018-06-11
pkgs.php83Extensions.systemd
PHP extension allowing native interaction with systemd and its journal
-
nixos-unstable -
- nixos-unstable-small 0.1.2-unstable-2018-06-11
-
nixos-26.05 -
- nixos-26.05-small 0.1.2-unstable-2018-06-11
pkgs.php84Extensions.systemd
PHP extension allowing native interaction with systemd and its journal
-
nixos-unstable -
- nixos-unstable-small 0.1.2-unstable-2018-06-11
-
nixos-26.05 -
- nixos-26.05-small 0.1.2-unstable-2018-06-11
pkgs.php85Extensions.systemd
PHP extension allowing native interaction with systemd and its journal
-
nixos-unstable -
- nixos-unstable-small 0.1.2-unstable-2018-06-11
-
nixos-26.05 -
- nixos-26.05-small 0.1.2-unstable-2018-06-11
pkgs.systemd-language-server
Language Server for Systemd unit files
pkgs.update-systemd-resolved
Helper script for OpenVPN to directly update the DNS settings of a link through systemd-resolved via DBus
pkgs.haskellPackages.systemd-api
systemd bindings
pkgs.nagiosPlugins.check_systemd
Nagios / Icinga monitoring plugin to check systemd for failed units
pkgs.prometheus-systemd-exporter
Exporter for systemd unit metrics
pkgs.haskellPackages.warp-systemd
Socket activation and other systemd integration for the Warp web server (WAI)
pkgs.ocamlPackages_latest.systemd
OCaml module for native access to the systemd facilities
pkgs.gnomeExtensions.systemd-status
Show systemd system state
pkgs.gnomeExtensions.systemd-manager
GNOME Shell extension to manage systemd services
pkgs.python313Packages.systemd-python
Python module for native access to the systemd facilities
pkgs.python314Packages.systemd-python
Python module for native access to the systemd facilities
pkgs.haskellPackages.libsystemd-journal
Haskell bindings to libsystemd-journal
pkgs.gnomeExtensions.systemd-manager-neo
Monitor and manage system and user systemd services directly from the GNOME top panel. Features RAM/Uptime tracking and easy log access.
pkgs.python313Packages.systemdunitparser
SystemdUnitParser is an extension to Python's configparser.RawConfigParser to properly parse systemd unit files
pkgs.python314Packages.systemdunitparser
SystemdUnitParser is an extension to Python's configparser.RawConfigParser to properly parse systemd unit files
pkgs.python313Packages.jupyterhub-systemdspawner
JupyterHub Spawner using systemd for resource isolation
pkgs.python314Packages.jupyterhub-systemdspawner
JupyterHub Spawner using systemd for resource isolation
pkgs.gnomeExtensions.systemd-offline-update-indicator
Show an indicator for pending systemd offline updates.
Package maintainers
-
@doronbehar Doron Behar <me@doronbehar.com>
-
@linsui linsui <linsui555@gmail.com>
-
@honnip Jung seungwoo <me@honnip.page>
-
@sternenseemann Lukas Epple <sternenseemann@systemli.org>
-
@mpscholten Marc Scholten <marc@digitallyinduced.com>
-
@symphorien Guillaume Girol <symphorien_nixpkgs@xlumurb.eu>
-
@atagen atagen
-
@talyz Kim Lindberger <kim.lindberger@gmail.com>
-
@aanderse Aaron Andersen <aaron@fosslib.net>
-
@piotrkwiecinski Piotr Kwiecinski <piokwiecinski+nixpkgs@gmail.com>
-
@Ma27 Maximilian Bosch <maximilian@mbosch.me>
-
@chkno Scott Worley <scottworley@scottworley.com>
-
@RaitoBezarius Ryan Lahfa <ryan@lahfa.xyz>
-
@colonelpanic8 Ivan Malison <IvanMalison@gmail.com>
-
@leona-ya Leona Maroni <nix@leona.is>
-
@balsoft Alexander Bantyev <balsoft75@gmail.com>
-
@LordGrimmauld Sören Bender <soeren@benjos.de>
-
@nikstur nikstur <nikstur@outlook.com>
-
@arianvp Arian van Putten <arian.vanputten@gmail.com>
-
@ElvishJerricco Will Fancher <elvishjerricco@gmail.com>
-
@flokli Florian Klink <flokli@flokli.de>
-
@andir Andreas Rammhold <andreas@rammhold.de>
-
@pyrox0 Pyrox <pyrox@pyrox.dev>
-
@brianmcgillion Brian McGillion <bmg.avoin@gmail.com>
-
@veehaitch Vincent Haupert <mail@vincent-haupert.de>
-
@fpletz Franz Pletz <fpletz@fnordicwalking.de>
-
@GaetanLepage Gaetan Lepage <gaetan@glepage.com>
-
@liff Olli Helenius <liff@iki.fi>
-
@mahyarmirrashed Mahyar Mirrashed <mah.mirr@gmail.com>
-
@VuiMuich Johannes Mayrhofer <vuimuich@quantentunnel.de>
-
@getchoo Seth Flynn <getchoo@tuta.io>
-
@benley Benjamin Staffin <benley@gmail.com>
-
@pasqui23 pasqui23 <p3dimaria@hotmail.it>
-
@eadwu Edmund Wu <edmund.wu@protonmail.com>
-
@kamadorueda Kevin Amado <kamadorueda@gmail.com>