CVE-2026-54245
JSON

7.6high

Fleet: SQL injection in Okta conditional access endpoint allows host-controlled compromise of the Fleet database

Severity
7.6high CVSS:4.0 by GitHub_M
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-7q96-f8xw-jv5jGO-2026-6264

Description

Fleet is an open-source device management platform built on osquery. In versions prior to 4.86.2, the Okta conditional access integration in Fleet Premium is vulnerable to SQL injection through a host-supplied value that is used in a database query without proper parameterization, allowing an attacker who controls a single enrolled host to read or modify arbitrary data in the Fleet database. The value is reported by the host's own agent and stored verbatim, then used on an unauthenticated request path that supports the conditional access integration, so any party controlling one enrolled host, the lowest-privilege position in the product, can influence the query. By disclosing arbitrary database contents an attacker can extract stored session tokens and replay them to act as a global administrator, and on a managed fleet that administrator access enables running scripts on enrolled hosts, leading to remote code execution. The issue requires Fleet Premium with the Okta conditional access integration enabled and does not affect instances where it is not configured. This issue is fixed in version 4.86.2.

Affected

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

All scores

GitHub_M7.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-89

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

What each source says

CVE List

Fleet is an open-source device management platform built on osquery. In versions prior to 4.86.2, the Okta conditional access integration in Fleet Premium is vulnerable to SQL injection through a host-supplied value that is used in a database query without proper parameterization, allowing an attacker who controls a single enrolled host to read or modify arbitrary data in the Fleet database. The value is reported by the host's own agent and stored verbatim, then used on an unauthenticated request path that supports the conditional access integration, so any party controlling one enrolled host, the lowest-privilege position in the product, can influence the query. By disclosing arbitrary database contents an attacker can extract stored session tokens and replay them to act as a global administrator, and on a managed fleet that administrator access enables running scripts on enrolled hosts, leading to remote code execution. The issue requires Fleet Premium with the Okta conditional access integration enabled and does not affect instances where it is not configured. This issue is fixed in version 4.86.2.

GitHub Advisory Database
Summary

A SQL injection vulnerability in Fleet's Okta conditional access integration could allow an attacker who controls a single enrolled host to read or modify arbitrary data in the Fleet database, including stored session tokens. Disclosed session tokens may be replayed to act as a global administrator, which on a managed fleet leads to remote code execution on enrolled hosts.

Impact

When Fleet Premium with Okta conditional access is configured, an unauthenticated request path that supports the conditional access integration uses a host-supplied value in a database query without proper parameterization. Because the value is reported by the host's own agent and stored verbatim, any party that controls one enrolled host (the lowest-privilege role in the product) can influence the query.

Successful exploitation could allow:

  • Disclosure of arbitrary database contents, including credentials and session tokens.
  • Replay of disclosed session tokens to gain global administrator access.
  • Subsequent actions available to a global administrator, including running scripts on enrolled hosts.

This issue requires Fleet Premium with the Okta conditional access integration enabled. It does not affect instances where Okta conditional access is not configured.

Workarounds

If an immediate upgrade is not possible, disable the Okta conditional access integration until the patched version is deployed.

For more information

If you have any questions or comments about this advisory:

Email us at security@fleetdm.com

Join #fleet in osquery Slack

Credits

We thank @fuzzztf for responsibly disclosing this issue.

Go Vulnerability Database

Fleet: SQL injection in Okta conditional access endpoint allows host-controlled compromise of the Fleet database in github.com/fleetdm/fleet

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54245 changed 2026-08-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-7q96-f8xw-jv5j changed 2026-08-26CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6264 changed 2026-08-26CC-BY-4.0
NVDCVE-2026-54245 changed 2026-09-09Public domain