CVE-2026-26186: SQL Injection Vulnerability in Fleet's ORDER BY Parameter
Summary
CVE-2026-26186: Fleet has an SQL Injection vulnerability via backtick escape in ORDER BY parameter in github.com/fleetdm/fleet. Affects github.com/fleetdm/fleet/v4 versions < 4.80.1. Fixed in 4.80.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Fleet is an open-source platform designed for managing and monitoring fleets of devices. It provides features such as device tracking, reporting, and analytics. The package is built using Go and is widely used for its efficiency and scalability. However, it has been identified to have a critical SQL Injection vulnerability that can be exploited through the ORDER BY parameter, potentially compromising the integrity of the database.
Vulnerability Detail
The vulnerability arises from improper handling of user input in the ORDER BY parameter, allowing attackers to inject malicious SQL code. This can lead to unauthorized data access, data manipulation, or even complete database compromise. The flaw is specifically due to the backtick escape mechanism not being adequately sanitized, making it susceptible to SQL injection attacks.
How To Fix
Latest published version: v4.43.4 as of 23 Oct 2026
go get github.com/fleetdm/fleet/v4@v4.43.4
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
4.80.1
This is the first release that contains the fix.
go get github.com/fleetdm/fleet/v4@v4.80.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, you can implement input validation and sanitization for the ORDER BY parameter to prevent SQL injection. Ensure that only expected values are allowed and reject any input that does not conform to the expected format.
Conclusion
The SQL Injection vulnerability identified as CVE-2026-26186 poses a significant risk to applications using the Fleet package. It is essential to update to the patched version and implement best practices for input validation to mitigate potential threats.
See every vulnerability recorded for github.com/fleetdm/fleet/v4 →
FAQ
CVE-2026-26186 is an identifier for a SQL Injection vulnerability found in the Fleet package, specifically in the ORDER BY parameter.
If exploited, this vulnerability can allow attackers to execute arbitrary SQL commands, leading to unauthorized access to sensitive data or manipulation of the database.
Yes, the vulnerability has been patched in version 4.80.1 of the Fleet package. It is crucial to update to this version or later.
Update the Fleet package to version 4.80.1 or later and implement input validation for any user-supplied data, especially in SQL queries.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/fleetdm/fleet/v4.