---
id: CVE-2026-48786
title: Fleet is an open-source device management platform built on osquery
summary: >-
  Fleet is an open-source device management platform built on osquery. In
  versions prior to 4.87.0, the target search endpoint (POST
  /api/latest/fleet/targets) returned unmasked team enroll secrets and full team
  configuration, including cr…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-200
vendor: fleetdm
product: github.com/fleetdm/fleet/v4
affected:
  - github.com/fleetdm/fleet/v4 < 4.87.0
patched:
  - github.com/fleetdm/fleet/v4 4.87.0
published: '2026-08-26'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:09:13.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-48786'
references:
  - url: >-
      http://github.com/fleetdm/fleet/commit/6a481477e8ac4bef43b5826e6240b867ac3b2379
    label: security-advisories@github.com
  - url: 'https://github.com/fleetdm/fleet/releases/tag/fleet-v4.87.0'
    label: security-advisories@github.com
  - url: 'https://github.com/fleetdm/fleet/security/advisories/GHSA-88p2-jj8w-j8qg'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-88p2-jj8w-j8qg'
tags:
  - nvd
  - ghsa
  - go
epss: 0.00251
epssPercentile: 0.16904
aliases:
  - GHSA-88p2-jj8w-j8qg
ecosystem: go
ingestedAt: '2026-08-12T15:53:05.923Z'
---

## Overview

Fleet is an open-source device management platform built on osquery. In versions prior to 4.87.0, the target search endpoint (POST /api/latest/fleet/targets) returned unmasked team enroll secrets and full team configuration, including credential-bearing agent options, to low-privilege observer-class users. Other team-facing endpoints mask these fields for observers, but the target search endpoint did not apply the same sanitization, so an authenticated user with the Observer, Observer+, or Technician role, whether global or team-scoped, could retrieve the secrets and agent options by performing a target search against an observer-runnable query. With a leaked team enroll secret an attacker could enroll unauthorized hosts into the affected team, and if the team's agent options contained credentials such as AWS secret access keys or proxy passwords, those values were disclosed as well. This issue is fixed in version 4.87.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-48786)

Affected packages:

- `github.com/fleetdm/fleet/v4 < 4.87.0`

Patched in:

- `github.com/fleetdm/fleet/v4 4.87.0`

Source: https://github.com/advisories/GHSA-88p2-jj8w-j8qg
