9.3critical
SAML authentication vulnerability due to improper SAML response validation
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.67% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-52jx-g6m5-h735GO-2025-3505
Description
fleetdm/fleet is an open source device management, built on osquery. In vulnerable versions of Fleet, an attacker could craft a specially-formed SAML response to forge authentication assertions, provision a new administrative user account if Just-In-Time (JIT) provisioning is enabled, or create new accounts tied to forged assertions if f MDM enrollment is enabled. This vulnerability is fixed in 4.64.2, 4.63.2, 4.62.4, and 4.58.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fleetdm fleet | >= 4.64.0, < 4.64.2, >= 4.63.0, < 4.63.2, >= 4.62.0, < 4.62.4, < 4.58.1 | CVE List |
| github.com/fleetdm/fleet/v4 (Go) | from 4.64.0 before 4.64.2, from 4.63.0 before 4.63.2, from 4.62.0 before 4.62.4, from 4.54.0 before 4.58.1, before 4.53.2, all versions | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
What each source says
CVE List
fleetdm/fleet is an open source device management, built on osquery. In vulnerable versions of Fleet, an attacker could craft a specially-formed SAML response to forge authentication assertions, provision a new administrative user account if Just-In-Time (JIT) provisioning is enabled, or create new accounts tied to forged assertions if f MDM enrollment is enabled. This vulnerability is fixed in 4.64.2, 4.63.2, 4.62.4, and 4.58.1.
GitHub Advisory Database
Summary
A vulnerability in Fleet’s SAML authentication handling could allow an attacker to forge authentication assertions and gain unauthorized access to Fleet. In certain configurations, this could result in the creation of new user accounts, including administrative accounts. This issue affects Fleet deployments using single sign-on (SSO).
Impact
In vulnerable versions of Fleet, an attacker could craft a specially-formed SAML response to:
- Forge authentication assertions, potentially impersonating legitimate users.
- If Just-In-Time (JIT) provisioning is enabled, the attacker could provision a new administrative user account.
- If MDM enrollment is enabled, certain endpoints could be used to create new accounts tied to forged assertions.
This could allow unauthorized access to Fleet, including administrative access, visibility into device data, and modification of configuration.
Patches
This issue is addressed in commit fc96cc4 and is available in Fleet version 4.64.2.
The following backport versions also address this issue:
- 4.63.2
- 4.62.4
- 4.58.1
- 4.53.2
Workarounds
If an immediate upgrade is not possible, Fleet users should temporarily disable single-sign-on (SSO) and use password authentication.
Credit
Thank you @hakivvi, as well as Jeffrey Hofmann and Colby Morgan from the Robinhood Red Team for finding and reporting this vulnerability using our responsible disclosure process.
For more information
If you have any questions or comments about this advisory:
- Email us at security@fleetdm.com
- Join #fleet in osquery Slack
Go Vulnerability Database
Fleet has SAML authentication vulnerability due to improper SAML response validation in github.com/fleetdm/fleet.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/fleetdm/fleet/v4 before v4.53.2, from v4.54.0 before v4.58.1, from v4.62.0 before v4.62.4, from v4.63.0 before v4.63.2, from v4.64.0 before v4.64.2.
NVD (es)
fleedm/fleet es un sistema de gestión de dispositivos de código abierto, basado en osquery. En versiones vulnerables de Fleet, un atacante podría crear una respuesta SAML especialmente manipulada para falsificar las afirmaciones de autenticación, proporcionar una nueva cuenta de usuario administrativo si el aprovisionamiento Just-In-Time (JIT) está habilitado o crear nuevas cuentas vinculadas a afirmaciones falsificadas si la inscripción a MDM está habilitada. Esta vulnerabilidad se ha corregido en 4.64.2, 4.63.2, 4.62.4 y 4.58.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-27509 changed 2025-03-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-52jx-g6m5-h735 changed 2026-02-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3505 changed 2025-03-10 | CC-BY-4.0 |
| NVD | CVE-2025-27509 changed 2026-06-17 | Public domain |