MediumGHSA-ch68-7cf4-35vrCVE-2022-23600

Limited ability to spoof SAML authentication with missing audience verification in Fleet

Published 7 Feb 2022 · Updated 8 Nov 2023

Is your project on an affected github.com/fleetdm/fleet/v4?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<4.9.1
Fixed in
4.9.1
Update to the fixed version for your release line, for example:go get github.com/fleetdm/fleet/v4@v4.9.1

Details

Impact

This impacts deployments using SAML SSO in two specific cases:

1. A malicious or compromised Service Provider (SP) could reuse the SAML response to log into Fleet as a user -- only if the user has an account with the same email in Fleet, _and_ the user signs into the malicious SP via SAML SSO from the same Identity Provider (IdP) configured with Fleet. 2. A user with an account in Fleet could reuse a SAML response intended for another SP to log into Fleet. This is only a concern if the user is blocked from Fleet in the IdP, but continues to have an account in Fleet. If the user is blocked from the IdP entirely, this cannot be exploited.

Patches

Fleet 4.9.1 resolves this issue.

Workarounds and good practices

  • Reduce the length of sessions on your IdP to reduce the window for malicious re-use.
  • Limit the amount of SAML Service Providers/Applications used by user accounts with access to Fleet.
  • When removing access to Fleet in the IdP, delete the Fleet user from Fleet as well.

For more information

If you have any questions or comments about this advisory:

  • Join us in the #fleet channel of osquery Slack.
  • Email us at [security@fleetdm.com](mailto:security@fleetdm.com).

Is GHSA-ch68-7cf4-35vr in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/fleetdm/fleet/v4, and gives you the command that fixes it.

More advisories for github.com/fleetdm/fleet/v4

  • LowCVE-2026-54245Fleet: SQL injection in Okta conditional access endpoint allows host-controlled compromise of the Fleet database in github.com/fleetdm/fleet · 25 Aug 2026
  • LowCVE-2026-101047Fleet: Unauthenticated download of in-house iOS app binaries via predictable URLs in github.com/fleetdm/fleet · 25 Aug 2026
  • LowCVE-2026-101046Fleet: ORDER BY column injection on activity list endpoints in github.com/fleetdm/fleet · 25 Aug 2026
  • LowCVE-2026-101046Fleet: ORDER BY column injection on activity list endpoints · 20 Aug 2026
  • MediumCVE-2026-101047Fleet: Unauthenticated download of in-house iOS app binaries via predictable URLs · 20 Aug 2026
  • LowCVE-2026-48786Fleet: Observer-class users can view team enroll secrets and credential-bearing configuration via target search endpoint in github.com/fleetdm/fleet · 18 Aug 2026
All 60 advisories for github.com/fleetdm/fleet/v4

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.