Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE-2026-101046
Summary
Fleet prior to 4.89.0 contains an SQL Injection vulnerability in the activity list endpoints "GET /api/v1/fleet/activities" and "GET /api/v1/fleet/hosts/{id}/activities". The deprecated cursor-pagination helper "appendListOptionsWithCursorToSQL" interpolated the caller-supplied sort/order key into the "SQL ORDER BY" clause without an allowlist, so an authenticated user with read access to Activity could order results by arbitrary columns. The impact is read-only and bounded to columns on the "activity_past" table that are not otherwise returned in these responses (e.g. details), allowing their values to be inferred through the resulting sort order; there is no write access, privilege escalation, or reachability of "node_key" or other host-join columns through these endpoints. Fixed in 4.89.0, which removes the deprecated helper and passes the sort column through "SanitizeColumn".
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- LOW
- LOW
- NONE
CWE-89 - SQL Injection
Structured Query Language (SQL) injection attacks are one of the most common types of vulnerabilities. They exploit weaknesses in vulnerable applications to gain unauthorized access to backend databases. This often occurs when an attacker enters unexpected SQL syntax in an input field. The resulting SQL statement behaves in the background in an unintended manner, which allows the possibility of unauthorized data retrieval, data modification, execution of database administration operations, and execution of commands on the operating system.
Advisory Timeline
- Published