CVE-2026-26191 Fleet vulnerable to OS command injection in software packages

Medium 6.0 Published Updated

Attackers can execute arbitrary commands as root or SYSTEM on managed endpoints by uploading crafted software packages with malicious metadata.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-26191?

CVE-2026-26191 is a medium-severity command injection vulnerability in fleetdm fleet, published on 14 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-78

Which versions are affected by CVE-2026-26191?

3 open source packages ship an affected version, including github.com/fleetdm/fleet/v4. It affects 1 product.

PackageAffectedFixed in
github.com/fleetdm/fleet/v4 GoAll versions4.81.1
github.com/fleetdm/fleet/v4 GoAll versions4.81.1
github.com/fleetdm/fleet/v4 GoAll versions4.81.1

Products include Fleetdm Fleet.

How do I fix CVE-2026-26191?

Upgrade github.com/fleetdm/fleet/v4 to 4.81.1 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-26191 being exploited?

There is no known exploitation of CVE-2026-26191 in the wild and no public exploit code.

Sources

Also known as GHSA-9vcr-g537-3w5v, GO-2026-5301.

Is CVE-2026-26191 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free