Command Injection Affecting github.com/fleetdm/fleet/pkg/file package, versions <4.81.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.77% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMFLEETDMFLEETPKGFILE-17223208
  • published7 Jun 2026
  • disclosed14 May 2026
  • creditsecfox-ai

Introduced: 14 May 2026

CVE-2026-26191  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade github.com/fleetdm/fleet/pkg/file to version 4.81.1 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection in the process that generates uninstall scripts from uploaded software packages, due to improper sanitization of metadata fields. An attacker can execute arbitrary commands with elevated privileges on managed endpoints by uploading a package containing malicious metadata values and convincing a user to run the uninstall script on it.

CVSS Base Scores

version 4.0
version 3.1