{"answers":{"affected":"3 open source packages ship an affected version, including github.com/fleetdm/fleet/v4.","exploited":"There is no known exploitation of CVE-2026-46371 in the wild and no public exploit code.","fix":"Upgrade github.com/fleetdm/fleet/v4 to 4.84.2 or later.","what":"CVE-2026-46371 is a medium-severity SQL injection vulnerability in fleetdm fleet, published on 26 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46371 and fix it if it is affected.\n\nWhat it is: CVE-2026-46371 is a medium-severity SQL injection vulnerability in fleetdm fleet, published on 26 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-46371 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/fleetdm/fleet/v4 (Go): affected all versions; fixed in 4.84.2\n- github.com/fleetdm/fleet/v4 (Go): affected all versions; fixed in 4.84.2\n- github.com/fleetdm/fleet/v4 (Go): affected all versions; fixed in 4.84.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-46371/ (Markdown: https://insights.sbomify.com/CVE-2026-46371/index.md)","id":"CVE-2026-46371","markdown":"https://insights.sbomify.com/CVE-2026-46371/index.md","name":"CVE-2026-46371","record":{"aliases":["GHSA-x4qr-qw6h-wvxq","GO-2026-5739"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"Fleet device management","requires_auth":"low_privilege","summary":"An attacker with Observer role can extract enrollment secrets via SQL injection in the MDM commands endpoint, enabling host impersonation and data access.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Fleet is an open-source device management platform built on osquery. In versions up to and including 4.84.1, the Apple MDM commands listing endpoint (GET /api/v1/fleet/mdm/apple/commands) allowed an authenticated user with the lowest-privilege Observer role to extract sensitive values from joined database tables, including host enrollment secrets and Apple Push Notification Service tokens, through a sort-order oracle. The endpoint accepted a user-supplied order_key parameter that was not validated against a column allowlist, and because the underlying query joins the hosts and nano_enrollments tables, an attacker could set the sort column to a sensitive field and combine it with the cursor-based after parameter to binary-search the value one character at a time, with the presence or absence of results revealing each character even though the value never appeared in the response. 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. This issue is fixed in version 4.84.2.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Fleet: Observer-level enrollment secret extraction via ORDER BY oracle on Apple MDM commands endpoint","id":"CVE-2026-46371","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"SillyTavern: SSRF in SearXNG Search Proxy via Unvalidated baseUrl","id":"CVE-2026-46372"},"packages":[{"ecosystem":"Go","fixed":["4.84.2"],"introduced":["0"],"last_affected":[],"package":"github.com/fleetdm/fleet/v4","purl":null,"source":"GHSA-x4qr-qw6h-wvxq"},{"ecosystem":"Go","fixed":["4.84.2"],"introduced":["0"],"last_affected":[],"package":"github.com/fleetdm/fleet/v4","purl":"pkg:golang/github.com/fleetdm/fleet/v4","source":"GHSA-x4qr-qw6h-wvxq"},{"ecosystem":"Go","fixed":["4.84.2"],"introduced":["0"],"last_affected":[],"package":"github.com/fleetdm/fleet/v4","purl":"pkg:golang/github.com/fleetdm/fleet/v4","source":"GO-2026-5739"}],"prev":{"headline":"Fleet has observer-level enrollment secret extraction via ORDER BY oracle on labels host-listing endpoint","id":"CVE-2026-46370"},"products":["fleet"],"published":"2026-08-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-27","vendors":["fleetdm"]},"summary":"An attacker with Observer role can extract enrollment secrets via SQL injection in the MDM commands endpoint, enabling host impersonation and data access.","url":"https://insights.sbomify.com/CVE-2026-46371/"}