CVE-2026-26186: Github.com/fleetdm/fleet/v4 SQL Injection Vulnerability
MODERATECVE-2026-26186 is a MODERATE sql injection vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Github.com/fleetdm/fleet/v4 libraries in the Go ecosystem. The issue involves fleet has an sql injection vulnerability via backtick escape in order by parameter. Remediation is available by upgrading affected packages to version 4.80.1.
CVE-2026-26186 at a Glance
How to Fix CVE-2026-26186
To remediate this vulnerability, upgrade all affected Github.com/fleetdm/fleet/v4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/fleetdm/fleet/v4 to 4.80.1
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/v4
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-26186, inspect your project dependencies for Github.com/fleetdm/fleet/v4:
inspect dependencies for github.com/fleetdm/fleet/v4
Analyze the terminal output to locate any version of Github.com/fleetdm/fleet/v4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.80.1), 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 Github.com/fleetdm/fleet/v4, 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
CVE-2026-26186 Affected Github.com/fleetdm/fleet/v4 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/fleetdm/fleet/v4
|
Go |
< 4.80.1
|
4.80.1
|
References
Frequently Asked Questions
What is CVE-2026-26186?
Which Github.com/fleetdm/fleet/v4 versions are affected?
What version fixes CVE-2026-26186?
Is github.com/fleetdm/fleet/v4 affected?
What CWE is associated with CVE-2026-26186?
How can I check Go dependencies for CVE-2026-26186?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-49xw-vfc4-7p43",
"modified" : "2026-02-26T15:14:12Z",
"published" : "2026-02-26T15:14:12Z",
"aliases" : [ "CVE-2026-26186" ],
"summary" : "Fleet has an SQL Injection vulnerability via backtick escape in ORDER BY parameter",
"details" : "### Summary\n\nA 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.\n\n### Impact\n\nAn 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.\n\nNo direct evidence of reliable data modification or stacked query execution was demonstrated.\n\n### Workarounds\n\nIf 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.\n\n### For more information\n\nIf there are any questions or comments about this advisory:\n\nEmail fleet at [security@fleetdm.com](mailto:security@fleetdm.com) \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 reporting this issue.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/fleetdm/fleet/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.80.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/fleetdm/fleet/security/advisories/GHSA-49xw-vfc4-7p43"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-26186"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/fleetdm/fleet"
}, {
"type" : "WEB",
"url" : "https://github.com/fleetdm/fleet/releases/tag/fleet-v4.80.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-89" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-02-26T15:14:12Z",
"nvd_published_at" : "2026-02-26T00:16:23Z"
}
}