SQL Injection Affecting github.com/fleetdm/fleet/server/datastore/mysql package, versions <4.84.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th 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 Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMFLEETDMFLEETSERVERDATASTOREMYSQL-17748657
  • published1 Jul 2026
  • disclosed12 Jun 2026
  • creditUnknown

Introduced: 12 Jun 2026

CVE-2026-46370  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade github.com/fleetdm/fleet/server/datastore/mysql to version 4.84.2 or higher.

Overview

Affected versions of this package are vulnerable to SQL Injection via the order_key parameter in the labels host-listing endpoint. An attacker can extract sensitive enrollment secrets by manipulating the sort order and leveraging a cursor-based binary search oracle. This is only exploitable if the attacker has authenticated Observer-level access.

Workaround

This vulnerability can be mitigated by restricting the Observer role to fully trusted users and rotating affected enrollment secrets.

CVSS Base Scores

version 4.0
version 3.1