CVE-2026-54245: Fleet SQL Injection Vulnerability

HIGH
Advisory Identifier: GHSA-7q96-f8xw-jv5j
CWE-89
Published
Advisory Summary

CVE-2026-54245 is a HIGH sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Fleet libraries in the Go ecosystem. The issue involves sql injection in okta conditional access endpoint allows host-controlled compromise of the fleet database. Remediation is available by upgrading affected packages to version 4.86.2.

CVE-2026-54245 at a Glance

CVE Identifier CVE-2026-54245
GHSA Identifier GHSA-7q96-f8xw-jv5j
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Fleet
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-54245

To remediate this vulnerability, upgrade all affected Fleet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/fleetdm/fleet fixed: 4.86.2
Upgrade github.com/fleetdm/fleet to 4.86.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/fleetdm/fleet

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-54245, inspect your project dependencies for Fleet:

inspect dependencies for github.com/fleetdm/fleet

Analyze the terminal output to locate any version of Fleet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.86.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Fleet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](mailto:security@fleetdm.com) Join #fleet in [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw) ### Credits We thank @fuzzztf for responsibly disclosing this issue.

CVE-2026-54245 Affected Fleet Versions

1 component(s)
Fixed Versions:
4.86.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/fleetdm/fleet
Go
< 4.86.2
4.86.2

References

Frequently Asked Questions

What is CVE-2026-54245?
CVE-2026-54245 is a security vulnerability in Fleet involving SQL injection in Okta conditional access endpoint allows host-controlled compromise of the Fleet database under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Fleet versions are affected?
Affected versions include releases prior to 4.86.2 across affected packages: github.com/fleetdm/fleet.
What version fixes CVE-2026-54245?
Upgrading to 4.86.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/fleetdm/fleet affected?
Yes, github.com/fleetdm/fleet is affected in releases prior to 4.86.2. Upgrade your dependency to 4.86.2 or later.
What CWE is associated with CVE-2026-54245?
CVE-2026-54245 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Go dependencies for CVE-2026-54245?
Run the dependency tree command: 'inspect dependencies for github.com/fleetdm/fleet'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7q96-f8xw-jv5j",
  "modified" : "2026-08-20T18:39:42Z",
  "published" : "2026-08-20T18:39:42Z",
  "aliases" : [ "CVE-2026-54245" ],
  "summary" : "Fleet: SQL injection in Okta conditional access endpoint allows host-controlled compromise of the Fleet database",
  "details" : "### Summary\n\nA 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.\n\n### Impact\n\nWhen 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.\n\nSuccessful exploitation could allow:\n\n- Disclosure of arbitrary database contents, including credentials and session tokens.\n- Replay of disclosed session tokens to gain global administrator access.\n- Subsequent actions available to a global administrator, including running scripts on enrolled hosts.\n\nThis issue requires Fleet Premium with the Okta conditional access integration enabled. It does not affect instances where Okta conditional access is not configured.\n\n### Workarounds\n\nIf an immediate upgrade is not possible, disable the Okta conditional access integration until the patched version is deployed.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\nEmail us at [security@fleetdm.com](mailto:security@fleetdm.com)\n\nJoin #fleet in [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw)\n\n### Credits\n\nWe thank @fuzzztf for responsibly disclosing this issue.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fleetdm/fleet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.86.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/fleetdm/fleet/security/advisories/GHSA-7q96-f8xw-jv5j"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/fleetdm/fleet"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fleetdm/fleet/releases/tag/fleet-v4.86.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-20T18:39:42Z",
    "nvd_published_at" : null
  }
}