CVE-2026-26191
JSON

6.0medium

Fleet vulnerable to OS command injection in software packages

Severity
6.0medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.94% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9vcr-g537-3w5vGO-2026-5301

Description

Fleet is open source device management software. Prior to version 4.81.0, a vulnerability in Fleet's software installer pipeline could allow a crafted software package to execute arbitrary commands as root (macOS/Linux) or SYSTEM (Windows) on managed endpoints when an uninstall is triggered. When a software package (.pkg, .deb, .rpm, .exe, or .msi) is uploaded to Fleet, metadata is extracted from the package binary and used to generate uninstall scripts. In affected versions, this metadata is not properly sanitized before being included in the generated scripts. A specially crafted package containing malicious values in its metadata fields could result in unintended command execution when the uninstall script runs on managed endpoints. Version 4.81.0 contains a patch. If an immediate upgrade is not possible, administrators should avoid uploading software packages obtained from untrusted or unverified sources. Additionally, administrators can manually inspect and edit auto-generated uninstall scripts before deployment.

Affected

Product or packageVersionsReported by
fleetdm fleet< 4.81.1, before 4.81.0CVE List, NVD
github.com/fleetdm/fleet/v4 (Go)before 4.81.1GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M6.0medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Fleet is open source device management software. Prior to version 4.81.0, a vulnerability in Fleet's software installer pipeline could allow a crafted software package to execute arbitrary commands as root (macOS/Linux) or SYSTEM (Windows) on managed endpoints when an uninstall is triggered. When a software package (.pkg, .deb, .rpm, .exe, or .msi) is uploaded to Fleet, metadata is extracted from the package binary and used to generate uninstall scripts. In affected versions, this metadata is not properly sanitized before being included in the generated scripts. A specially crafted package containing malicious values in its metadata fields could result in unintended command execution when the uninstall script runs on managed endpoints. Version 4.81.0 contains a patch. If an immediate upgrade is not possible, administrators should avoid uploading software packages obtained from untrusted or unverified sources. Additionally, administrators can manually inspect and edit auto-generated uninstall scripts before deployment.

GitHub Advisory Database
Summary

A vulnerability in Fleet's software installer pipeline could allow a crafted software package to execute arbitrary commands as root (macOS/Linux) or SYSTEM (Windows) on managed endpoints when an uninstall is triggered.

Impact

When a software package (.pkg, .deb, .rpm, .exe, or .msi) is uploaded to Fleet, metadata is extracted from the package binary and used to generate uninstall scripts. In affected versions, this metadata is not properly sanitized before being included in the generated scripts. A specially crafted package containing malicious values in its metadata fields could result in unintended command execution when the uninstall script runs on managed endpoints.

Workarounds

If an immediate upgrade is not possible, administrators should avoid uploading software packages obtained from untrusted or unverified sources. Additionally, administrators can manually inspect and edit auto-generated uninstall scripts before deployment.

For more information

If you have any questions or comments about this advisory:

Email us at [security@fleetdm.com](mailto:security@fleetdm.com)

Join #fleet in [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw)

Credits

We thank @secfox-ai for responsibly reporting this issue.

Go Vulnerability Database

Fleet vulnerable to OS command injection in software packages in github.com/fleetdm/fleet

NVD (es)

Fleet es un software de gestión de dispositivos de código abierto. Antes de la versión 4.81.0, una vulnerabilidad en la cadena de instalación de software de Fleet podría permitir que un paquete de software manipulado ejecute comandos arbitrarios como root (macOS/Linux) o SYSTEM (Windows) en los puntos finales gestionados cuando se activa una desinstalación. Cuando un paquete de software (.pkg, .deb, .rpm, .exe o .msi) se carga en Fleet, se extraen metadatos del binario del paquete y se utilizan para generar scripts de desinstalación. En las versiones afectadas, estos metadatos no se sanean correctamente antes de ser incluidos en los scripts generados. Un paquete especialmente manipulado que contenga valores maliciosos en sus campos de metadatos podría resultar en la ejecución de comandos no deseados cuando el script de desinstalación se ejecuta en los puntos finales gestionados. La versión 4.81.0 contiene un parche. Si una actualización inmediata no es posible, los administradores deben evitar cargar paquetes de software obtenidos de fuentes no confiables o no verificadas. Además, los administradores pueden inspeccionar y editar manualmente los scripts de desinstalación autogenerados antes de la implementación.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-26191 changed 2026-05-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-9vcr-g537-3w5v changed 2026-06-25CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5301 changed 2026-06-25CC-BY-4.0
NVDCVE-2026-26191 changed 2026-10-26Public domain