Vulnerabilities in pkg:golang/github.com/fleetdm/fleet/v4

PACKAGE
Advisory Summary

GHSA-rxhg-vcww-2mpw is a LOW (CVSS 3.1) order by column injection on 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 order by column injection on activity list endpoints. Remediation is available by upgrading affected packages to version 4.89.0.

30 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/fleetdm/fleet/v4

30 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/fleetdm/fleet/v4. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-rxhg-vcww-2mpw - LOW Fleet: ORDER BY column injection on activity list endpoints
GHSA-q9c5-pp7m-fm2g - MODERATE Fleet: Unauthenticated download of in-house iOS app binaries via predictable URLs
GHSA-88p2-jj8w-j8qg CVE-2026-48786 MODERATE Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint
GHSA-gm7f-v959-fr2g CVE-2026-41262 MODERATE Fleet DM Vulnerable to Cross-Team Policy Data Exposure via Global Policy Read Endpoint
GHSA-x4qr-qw6h-wvxq CVE-2026-46371 MODERATE Fleet: Observer-level enrollment secret extraction via ORDER BY oracle on Apple MDM commands endpoint
GHSA-vxm7-9x8v-8gm4 CVE-2026-46370 MODERATE Fleet has observer-level enrollment secret extraction via ORDER BY oracle on labels host-listing endpoint
GHSA-rphv-h674-5hp2 CVE-2026-27806 HIGH Fleet Affected by Local Privilege Escalation via Tcl Command Injection in Orbit
GHSA-2rc4-7jc6-qffh CVE-2026-23998 HIGH Fleet has a Windows MDM management endpoint authentication bypass
GHSA-ffg9-j72f-j6xm CVE-2026-24899 HIGH Fleet Windows MDM Azure AD JWT Authentication Bypass
GHSA-mxmp-wr3w-rvqx CVE-2026-46356 MODERATE Fleet: IP spoofing allows bypassing API rate limiting
GHSA-9vcr-g537-3w5v CVE-2026-26191 MODERATE Fleet vulnerable to OS command injection in software packages
GHSA-x67p-9m2r-fxqv CVE-2026-26062 HIGH Fleet server may terminate unexpectedly when handling certain gRPC requests
GHSA-j8h8-75h3-jg53 CVE-2026-24000 MODERATE Fleet has a rate limiting bypass via untrusted client IP headers
GHSA-4f9r-x588-pp2h CVE-2026-34389 MODERATE Fleet's user account creation via invite does not enforce invited email address
GHSA-w254-4hp5-7cvv CVE-2026-34388 MODERATE Fleet vulnerable to Denial of Service via unhandled gRPC log type in launcher endpoint
GHSA-9p23-p2m4-2r4m CVE-2026-34386 MODERATE Fleet vulnerable to SQL Injection in MDM bootstrap package by authenticated team or global admin
GHSA-v895-833r-8c45 CVE-2026-34385 MODERATE Fleet's Apple MDM profile delivery has second-order SQL Injection that can compromise the database
GHSA-m2h6-4xpq-qw3m CVE-2026-29180 MODERATE A Fleet team maintainer can transfer hosts from any team via missing source team authorization
GHSA-99hj-44vg-hfcp CVE-2026-26061 HIGH Fleet's unbounded request body read allows remote Denial of Service
GHSA-3458-r943-hmx4 CVE-2026-26060 MODERATE Fleet: Password reset tokens remain valid after password change for 24 hours
GHSA-4r5r-ccr6-q6f6 CVE-2026-23517 HIGH Fleet has an Access Control vulnerability in debug/pprof endpoints
GHSA-2v6m-6xw3-6467 CVE-2026-27465 HIGH Fleet: Sensitive Google Calendar credentials disclosed to low-privileged users
GHSA-5jvp-m9h4-253h CVE-2026-25963 MODERATE Fleet: Authorization Bypass in certificate template batch deletion for team administrators
GHSA-9pm7-6g36-6j78 CVE-2026-24004 MODERATE Fleet: Unauthenticated Android device disenrollment vulnerability via Pub/Sub endpoint
GHSA-ppwx-5jq7-px2w CVE-2026-23999 MODERATE Fleet: Device lock PIN can be predicted if lock time is known
GHSA-49xw-vfc4-7p43 CVE-2026-26186 MODERATE Fleet has an SQL Injection vulnerability via backtick escape in ORDER BY parameter
GHSA-gfpw-jgvr-cw4j CVE-2026-22808 MODERATE Fleet Windows MDM endpoint has a Cross-site Scripting vulnerability
GHSA-52jx-g6m5-h735 CVE-2025-27509 CRITICAL Fleet has SAML authentication vulnerability due to improper SAML response validation
GHSA-w3wf-cfx3-6gcx CVE-2020-26276 HIGH SAML authentication vulnerability due to stdlib XML parsing
GHSA-ch68-7cf4-35vr CVE-2022-23600 MODERATE Limited ability to spoof SAML authentication with missing audience verification in Fleet

GHSA-rxhg-vcww-2mpw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-rxhg-vcww-2mpw
Severity LOW
CVSS v3.1 Base Score 3.1
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

Security Impact

CVSS: 3.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix GHSA-rxhg-vcww-2mpw

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/v4 fixed: 4.89.0
Upgrade github.com/fleetdm/fleet/v4 to 4.89.0
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/v4

How to Check if You Are Affected

To determine whether your application is affected by GHSA-rxhg-vcww-2mpw, inspect your project dependencies for Fleet:

inspect dependencies for github.com/fleetdm/fleet/v4

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.89.0), 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 An authenticated user with read access to Activity could influence the `ORDER BY` clause of the activity list endpoints by supplying an arbitrary sort column: - `GET /api/v1/fleet/activities` (`ListActivities`) - `GET /api/v1/fleet/hosts/{id}/activities` (`ListHostPastActivities`) This originated from the deprecated cursor-pagination helper (`appendListOptionsWithCursorToSQL`), which interpolated the caller-supplied order key into SQL without an allowlist. The original report's `node_key` extraction scenario (`/api/v1/fleet/labels/{id}/hosts`) was remediated separately in #44385; these two activity endpoints were the residual call sites, neither of which joins the `hosts` table, so `node_key` was never reachable through them. ### Impact Read-only. Because the order key was interpolated, an authenticated user with Activity read could sort by columns not otherwise returned in these responses. The exposure was bounded to columns on `activity_past` (e.g. `details` on `/api/v1/fleet/activities`, which is not in that endpoint's SELECT; host-only activities are already excluded by `WHERE host_only = false`). There is no privilege escalation, write access, or reachability of `node_key` or other host-join columns through these endpoints. ### Remediation The deprecated helper was removed from the codebase. Both endpoints now pass the caller-supplied sort column through `SanitizeColumn`, which strips all characters except `[\w-.]` and backtick-quotes each identifier segment. This closes the injection vector: separators, whitespace, parentheses, and quotes cannot survive sanitization, so an expression-based `ORDER BY` oracle is not constructable. ### Affected versions `< fleet-v4.89.0`. Fixed in `fleet-v4.89.0`. ### Credit Thanks to @axel-corsiez for the report.

GHSA-rxhg-vcww-2mpw Affected Fleet Versions

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

References

Frequently Asked Questions

What is GHSA-rxhg-vcww-2mpw?
GHSA-rxhg-vcww-2mpw is a security vulnerability in Fleet involving ORDER BY column injection on activity list endpoints 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.89.0 across affected packages: github.com/fleetdm/fleet/v4.
What version fixes GHSA-rxhg-vcww-2mpw?
Upgrading to 4.89.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/fleetdm/fleet/v4 affected?
Yes, github.com/fleetdm/fleet/v4 is affected in releases prior to 4.89.0. Upgrade your dependency to 4.89.0 or later.
What is the CVSS score of GHSA-rxhg-vcww-2mpw?
GHSA-rxhg-vcww-2mpw has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with GHSA-rxhg-vcww-2mpw?
GHSA-rxhg-vcww-2mpw 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 GHSA-rxhg-vcww-2mpw?
Run the dependency tree command: 'inspect dependencies for github.com/fleetdm/fleet/v4'. 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-rxhg-vcww-2mpw",
  "modified" : "2026-08-20T18:44:36Z",
  "published" : "2026-08-20T18:44:36Z",
  "aliases" : [ ],
  "summary" : "Fleet: ORDER BY column injection on activity list endpoints",
  "details" : "### Summary\n\nAn authenticated user with read access to Activity could influence the `ORDER BY` clause of the activity list endpoints by supplying an arbitrary sort column:\n\n- `GET /api/v1/fleet/activities` (`ListActivities`)\n- `GET /api/v1/fleet/hosts/{id}/activities` (`ListHostPastActivities`)\n\nThis originated from the deprecated cursor-pagination helper (`appendListOptionsWithCursorToSQL`), which interpolated the caller-supplied order key into SQL without an allowlist. The original report's `node_key` extraction scenario (`/api/v1/fleet/labels/{id}/hosts`) was remediated separately in #44385; these two activity endpoints were the residual call sites, neither of which joins the `hosts` table, so `node_key` was never reachable through them.\n\n### Impact\n\nRead-only. Because the order key was interpolated, an authenticated user with Activity read could sort by columns not otherwise returned in these responses. The exposure was bounded to columns on `activity_past` (e.g. `details` on `/api/v1/fleet/activities`, which is not in that endpoint's SELECT; host-only activities are already excluded by `WHERE host_only = false`). There is no privilege escalation, write access, or reachability of `node_key` or other host-join columns through these endpoints.\n\n### Remediation\n\nThe deprecated helper was removed from the codebase. Both endpoints now pass the caller-supplied sort column through `SanitizeColumn`, which strips all characters except `[\\w-.]` and backtick-quotes each identifier segment. This closes the injection vector: separators, whitespace, parentheses, and quotes cannot survive sanitization, so an expression-based `ORDER BY` oracle is not constructable.\n\n### Affected versions\n\n`< fleet-v4.89.0`. Fixed in `fleet-v4.89.0`.\n\n### Credit\n\nThanks to @axel-corsiez for the report.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fleetdm/fleet/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.89.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/fleetdm/fleet/security/advisories/GHSA-rxhg-vcww-2mpw"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/fleetdm/fleet"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fleetdm/fleet/releases/tag/fleet-v4.89.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-20T18:44:36Z",
    "nvd_published_at" : null
  }
}