Skip to main content

Fleet MDM CVE-2026-46371

| EUVDEUVD-2026-66671 MEDIUM
SQL Injection (CWE-89)
2026-06-12 https://github.com/fleetdm/fleet GHSA-x4qr-qw6h-wvxq
6.5
CVSS 3.1 · Vendor: https://github.com/fleetdm/fleet
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Fleet Observer-level credentials
  2. Delivery
    Send GET /api/v1/fleet/mdm/apple/commands with injected order_key column
  3. Exploit
    Binary-search target column value via cursor pagination oracle
  4. Execution
    Recover host node_key or orbit_node_key
  5. Persist
    Authenticate to osquery/Orbit endpoint as impersonated host
  6. Impact
    Retrieve pending scripts and commands or submit fabricated host data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following conditions to be simultaneously true: (1) the attacker must hold at minimum an Observer-level account in the Fleet deployment - the endpoint requires authentication and there is no unauthenticated path; (2) the Fleet instance must have Apple MDM configured and enabled, as the /api/v1/fleet/mdm/apple/commands endpoint does not exist on non-MDM deployments; (3) at least one MDM command must be queued at the time of exploitation, because an empty result set eliminates the binary search oracle signal. Secondary exploitation of APNS tokens is further gated by the attacker independently possessing the organization's APNS certificate, which is a distinct and significant barrier. Exploitation is not possible against Fleet instances without Apple MDM, against the fixed version 4.84.2, or by unauthenticated parties.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N accurately describes the technical profile: the attack is network-accessible, low-complexity, and requires no user interaction, but does require Observer-level authenticated access (PR:L). The C:H rating is justified because the exfiltrated secrets - particularly node_key and orbit_node_key - are not merely informational; they are bearer tokens enabling host impersonation, fabricated data submission, and retrieval of pending scripts and commands, which amounts to a secondary integrity impact not captured by the base score. No EPSS data was provided in the available intelligence, and the CVE does not appear in the CISA KEV catalog, indicating no confirmed widespread active exploitation at time of analysis. The vulnerability was responsibly disclosed by Palantir Technologies' security team rather than discovered in the wild. The most significant limiting factor is the combination of required Observer credentials AND an Apple MDM deployment with at least one queued command - organizations without Apple MDM configured are entirely unaffected. Priority should be highest for Fleet deployments with broad Observer role assignment, especially in shared or multi-tenant environments.

Exploit ScenarioDerived

An attacker with Observer-level Fleet credentials sends a series of GET requests to /api/v1/fleet/mdm/apple/commands, supplying a target column name such as node_key as the order_key parameter and iterating through after cursor values to observe result presence or absence. Using binary search over the character space, the attacker recovers the full node_key value of a targeted enrolled host over roughly O(n log 256) requests, where n is the key length. The attacker then presents the recovered node_key to Fleet's osquery endpoint, authenticating as that host to retrieve any pending scripts or commands and submit fabricated inventory data. No public POC has been identified at time of analysis, but the oracle technique is straightforward to implement given the advisory description.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 12, 2026

Blind SQL injection in Fleet MDM's Apple MDM commands endpoint allows authenticated Observer-role users to exfiltrate sensitive database column values - including host enrollment secrets, node_key, orbit_node_key, and APNS tokens - via a cursor-based binary search oracle. The GET /api/v1/fleet/mdm/apple/commands endpoint accepted an unsanitized order_key parameter injected directly into an SQL ORDER BY clause without column validation, exposing all columns on the joined hosts and nano_enrollments tables. Extracted node_key values enable full host impersonation against Fleet's osquery and Orbit endpoints, making the effective impact materially higher than the 6.5 CVSS base score implies. No public exploit has been identified at time of analysis; vendor-released patch is available in Fleet 4.84.2.

RemediationAI

The primary fix is upgrading to Fleet 4.84.2, which introduces column allowlist validation for the order_key parameter on the affected endpoint, eliminating the injection surface. The advisory is available at https://github.com/fleetdm/fleet/security/advisories/GHSA-x4qr-qw6h-wvxq. If an immediate upgrade is not possible, the vendor recommends restricting the Observer role exclusively to fully trusted users, since Observer access is the sole prerequisite for the attack path; this effectively eliminates exploitation risk but may not be operationally feasible in environments with broad Observer provisioning. Additionally, rotate node_key and orbit_node_key for any hosts suspected of exposure by re-enrolling those hosts - note that re-enrollment causes a brief gap in host visibility and will interrupt any pending MDM commands. APNS tokens require rotation only if an attacker is also believed to separately possess the organization's APNS certificate, which is a distinct and higher bar.

Affected VersionsENISA

Fleet < 4.84.2

Affected Packages

go github.com/fleetdm/fleet/v4 fix: 4.84.2
euvd fleet fix: 4.84.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Fleet is an open-source device management and osquery platform written in Go (CPE: pkg:go/github.com/fleetdm/fleet/v4). The affected endpoint, GET /api/v1/fleet/mdm/apple/commands, constructs its SQL query using a deprecated internal helper that appends the user-supplied order_key request parameter directly into the ORDER BY clause without validating it against a column allowlist. Because the query joins the hosts and nano_enrollments tables, every column on both tables - including secrets not returned in the response body - is reachable as an injection target. The oracle technique exploits cursor-based pagination: the attacker supplies an after cursor value and varies order_key to observe whether results are returned, enabling character-by-character binary search of any target column value. This is a classic blind ORDER BY injection, classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The extracted node_key and orbit_node_key values serve as authentication tokens for Fleet's osquery and Orbit endpoints, so their exfiltration directly enables host impersonation.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/fleetdm/fleet) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Observer-role authentication is required (PR:L); network-accessible API endpoint (AV:N); C:H reflects node_key and secret exfiltration; no write or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (https://github.com/fleetdm/fleet).

CVSS VectorVendor: https://github.com/fleetdm/fleet

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

Summary

A vulnerability in Fleet's Apple MDM commands listing endpoint allowed authenticated users with the lowest-privilege Observer role to extract sensitive values from joined database tables - including host enrollment secrets and Apple Push Notification Service (APNS) tokens - through a cursor-based binary search oracle. The endpoint accepted a user-supplied order_key parameter that was not validated against a column allowlist.

Impact

The GET /api/v1/fleet/mdm/apple/commands endpoint constructs its query using a deprecated helper that did not restrict which columns could appear in the ORDER BY clause. The underlying query joins the hosts and nano_enrollments tables, so any column on those tables could be supplied as order_key. An attacker with Observer credentials could then use the cursor-based pagination parameter (after) to binary-search the value of the chosen column one character at a time. The targeted values never appeared in the response body, but the presence or absence of results revealed each character.

With extracted node_key or orbit_node_key values, an attacker could impersonate enrolled hosts to Fleet's osquery and Orbit endpoints, submit fabricated host data, and retrieve pending scripts and commands. The APNS values are exploitable only by a party that also possesses the organization's APNS certificate.

Exploitation required authenticated Observer access and a Fleet deployment with Apple MDM enabled and at least one queued MDM command. Instances without Apple MDM configured were not affected.

Workarounds

If an immediate upgrade is not possible, administrators should:

  • Restrict the Observer role to fully trusted users until the patch is applied
  • Rotate node_key and orbit_node_key for any host suspected of exposure by re-enrolling the affected hosts

For more information

If there are any questions or comments about this advisory:

Email Fleet at [security@fleetdm.com](mailto:security@fleetdm.com) Join #fleet in osquery Slack

Credits

Fleet thanks the Security Team at Palantir Technologies for responsibly reporting this issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy