{"id":"CVE-2026-48786","aliases":["CVE-2026-48786","GHSA-88p2-jj8w-j8qg","GO-2026-6220"],"related":[],"kind":"vulnerability","state":"published","title":"Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe target search endpoint (`POST /api/latest/fleet/targets`) returned team enroll secrets and full team configuration, including credential-bearing agent options, to observer-class users. Other team-facing endpoints mask these fields for observers; the target search endpoint did not apply the same sanitization.\n\n### Impact\n\nAn authenticated user with Observer, Observer+, or Technician role (global or team-scoped) could retrieve unmasked team enroll secrets and team agent options by performing a target search against an observer-runnable query.\n\nWith a leaked team enroll secret, an attacker could enroll unauthorized hosts into the affected team. If the team's agent options contained credentials such as AWS secret access keys or proxy passwords, those values were also exposed.\n\n### Patches\n\n- v4.87.0\n\n### Workarounds\n\nIf an immediate upgrade is not possible, administrators should:\n\n- Rotate team enroll secrets for any team that may have been exposed\n- Rotate any credentials stored in team agent options (AWS keys, proxy passwords, session tokens)\n- Restrict Observer and Technician roles to fully trusted users until the patch is applied\n\n### Credits\n\nFleet thanks @fuzzztf for responsibly reporting this issue.\n\n### For more information\n\nIf there are any questions or comments about this advisory:\n\nSend an email to [security@fleetdm.com](mailto:security@fleetdm.com)\nJoin #fleet in [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint in github.com/fleetdm/fleet","format":"markdown","source":"go"}],"published":"2026-08-12T15:18:13.000Z","modified":"2026-09-09T21:09:13.080Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"version":"< 4.87.0","status":"affected"}],"vendor":"fleetdm","product":"fleet","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.87.0"}],"ecosystem":"Go","package":"github.com/fleetdm/fleet/v4","purl":"pkg:golang/github.com/fleetdm/fleet/v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.87.0"}],"ecosystem":"Go","package":"github.com/fleetdm/fleet/v4","purl":"pkg:golang/github.com/fleetdm/fleet/v4","source":"go"}],"references":[{"url":"https://github.com/fleetdm/fleet/security/advisories/GHSA-88p2-jj8w-j8qg","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/fleetdm/fleet/releases/tag/fleet-v4.87.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"http://github.com/fleetdm/fleet/commit/6a481477e8ac4bef43b5826e6240b867ac3b2379","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/fleetdm/fleet","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-26T18:48:23.482Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48786","url":"https://www.cve.org/CVERecord?id=CVE-2026-48786","licence":"CVE Terms of Use","modified":"2026-08-26T18:49:37.564Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-88p2-jj8w-j8qg","url":"https://github.com/advisories/GHSA-88p2-jj8w-j8qg","licence":"CC-BY-4.0","modified":"2026-08-18T14:56:03.572Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6220","url":"https://pkg.go.dev/vuln/GO-2026-6220","licence":"CC-BY-4.0","modified":"2026-08-18T14:45:04.002Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48786","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48786","licence":"Public domain","modified":"2026-09-09T21:09:13.080Z"}],"updatedAt":"2026-11-25T22:59:35.420Z","epss":{"score":0.00251,"percentile":0.17701,"date":"2026-12-01T12:00:22.000Z"}}