CVE-2021-41387
NixOS vulnerability analysis and mitigation

Overview

seatd-launch in seatd 0.6.x before 0.6.2 allows privilege escalation because it uses execlp and may be installed setuid root. The vulnerability was discovered on September 15, 2021, and was fixed in seatd release 0.6.2. This security issue affects versions 0.6.0 and 0.6.1 of seatd-launch (Seatd Announce).

Technical details

The vulnerability exists because seatd-launch used execlp, which reads the PATH environment variable to search for the requested executable to execute seatd. This implementation allowed attackers to control what executable was loaded by adding a user-writable directory to PATH. When seatd-launch had the SUID bit set, this could be exploited by a malicious user with execution permissions to perform privilege escalation to the owner of seatd-launch (typically root). The vulnerability was introduced in commit 1e98727ae9df when implementing the seatd-launch executable (Seatd Announce).

Impact

If successfully exploited, this vulnerability allows local attackers to escalate their privileges to root level when seatd-launch is installed with the SUID bit set. It's important to note that the SUID bit is not set by the build system installation process and must be explicitly set by either the package maintainer or user (Seatd Announce).

Mitigation and workarounds

The vulnerability was fixed in seatd 0.6.2 by hardcoding an absolute path to seatd at compile-time and replacing execlp with execve, which also avoids environment inheritance as a preventive measure. Users are recommended to either upgrade to version 0.6.2 or remove seatd-launch if installed with SUID bit set (Seatd Announce).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management