CVE-2026-26186: Fleet has an SQL Injection vulnerability via backtick escape in ORDER BY parameter
Summary A SQL Injection vulnerability in Fleet’s software versions API allowed authenticated users to inject arbitrary SQL expressions via the orderkey query parameter. Due to unsafe use of goqu.I() when constructing the ORDER BY clause, specially crafted input could escape identifier quoting and be interpreted as executable SQL.
Published Feb 26, 2026 · Updated Mar 15, 2026
Affected packages
github.com/fleetdm/fleet/v4
- Ecosystem
- Go
- Affected
- < 4.80.1
- Fixed in
- 4.80.1
- Check
go list -m github.com/fleetdm/fleet/v4
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A SQL Injection vulnerability in Fleet’s software versions API allowed authenticated users to inject arbitrary SQL expressions via the order_key query parameter. Due to unsafe use of goqu.I() when constructing the ORDER BY clause, specially crafted input could escape identifier quoting and be interpreted as executable SQL.
Impact
An authenticated attacker with access to the affected endpoint could inject SQL expressions into the underlying MySQL query. Although the injection occurs in an ORDER BY context, it is sufficient to enable blind SQL injection techniques that can disclose database information through conditional expressions that affect result ordering. Crafted expressions may also cause excessive computation or query failures, potentially leading to degraded performance or denial of service.
No direct evidence of reliable data modification or stacked query execution was demonstrated.
Workarounds
If an immediate upgrade is not possible, users should restrict access to the affected endpoint to trusted roles only and ensure that any user-supplied sort or column parameters are strictly allow-listed at the application or proxy layer.
For more information
If there are any questions or comments about this advisory:
Email fleet at [[email protected]](mailto:[email protected]) Join #fleet in osquery Slack
Credits
We thank @fuzzztf for responsibly reporting this issue.
Credited to fuzzztf.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-q9c5-pp7m-fm2g
Fleet: Unauthenticated download of in-house iOS app binaries via predictable URLs
medium5.3Aug 20, 2026GHSA-rxhg-vcww-2mpw
Fleet: ORDER BY column injection on activity list endpoints
low3.1Aug 20, 2026CVE-2026-48786
Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint
medium6.5Aug 12, 2026CVE-2026-41262
Fleet DM Vulnerable to Cross-Team Policy Data Exposure via Global Policy Read Endpoint
medium4.3Jun 26, 2026CVE-2026-46370
Fleet has observer-level enrollment secret extraction via ORDER BY oracle on labels host-listing endpoint
medium6.5Jun 12, 2026CVE-2026-46371
Fleet: Observer-level enrollment secret extraction via ORDER BY oracle on Apple MDM commands endpoint
medium6.5Jun 12, 2026
