Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/fleetdm/fleet/v4
  4. ›
  5. GHSA-rxhg-vcww-2mpw

GHSA-rxhg-vcww-2mpw: Fleet: ORDER BY column injection on activity list endpoints

August 20, 2026

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.

References

  • github.com/advisories/GHSA-rxhg-vcww-2mpw
  • github.com/fleetdm/fleet/releases/tag/fleet-v4.89.0
  • github.com/fleetdm/fleet/security/advisories/GHSA-rxhg-vcww-2mpw

Code Behaviors & Features

Detect and mitigate GHSA-rxhg-vcww-2mpw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.89.0

Fixed versions

  • 4.89.0

Solution

Upgrade to version 4.89.0 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

go/github.com/fleetdm/fleet/v4/GHSA-rxhg-vcww-2mpw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 11 Sep 2026 00:17:54 +0000.