CVE-2025-27509: SAML authentication vulnerability due to improper SAML response validation

Published Mar 6, 2025
·
Updated

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

Other sources

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.

MITRE

Affected Software

6 affected componentsFixes available
go/github.com/fleetdm/fleet/v4<4.53.2
4.53.2
go/github.com/fleetdm/fleet/v4>=4.54.0<4.58.1
4.58.1
go/github.com/fleetdm/fleet/v4>=4.62.0<4.62.4
4.62.4
go/github.com/fleetdm/fleet/v4>=4.63.0<4.63.2
4.63.2
go/github.com/fleetdm/fleet/v4>=4.64.0<4.64.2
4.64.2
fleetdm fleet<4.58.1, >=4.59.0<4.64.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/fleetdm/fleet/v4 to a version that resolves this vulnerability.

    Fixed in 4.53.2
  2. Upgrade

    Upgrade go/github.com/fleetdm/fleet/v4 to a version that resolves this vulnerability.

    Fixed in 4.58.1
  3. Upgrade

    Upgrade go/github.com/fleetdm/fleet/v4 to a version that resolves this vulnerability.

    Fixed in 4.62.4
  4. Upgrade

    Upgrade go/github.com/fleetdm/fleet/v4 to a version that resolves this vulnerability.

    Fixed in 4.63.2
  5. Upgrade

    Upgrade go/github.com/fleetdm/fleet/v4 to a version that resolves this vulnerability.

    Fixed in 4.64.2
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.64.2
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.63.2
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.62.4
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.58.1
  10. Configuration

    Temporarily disable single-sign-on (SSO) in Fleet and use password authentication if an immediate upgrade is not possible.

    Fleet (Single-sign-on / SSO) single-sign-on (SSO) = disabled

Event History

Mar 6, 2025
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
DescriptionWeakness
Advisory Published
via GitHub·07:12 PM
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Nov 18, 57181
Event
via FIRST·01:03 PM

Frequently Asked Questions

1

What is the severity of CVE-2025-27509?

CVE-2025-27509 is a critical vulnerability that allows attackers to craft SAML responses to impersonate legitimate users.

2

How do I fix CVE-2025-27509?

To fix CVE-2025-27509, upgrade to Fleet version 4.58.1 or any version from 4.62.0 up to 4.64.2.

3

What are the affected versions for CVE-2025-27509?

CVE-2025-27509 affects Fleet versions between 4.59.0 and 4.64.1, excluding 4.58.1 and specific patches.

4

Can CVE-2025-27509 lead to new administrative user creation?

Yes, if Just-In-Time (JIT) provisioning is enabled, CVE-2025-27509 can allow attackers to create new administrative accounts.

5

What type of attack does CVE-2025-27509 enable?

CVE-2025-27509 enables attackers to forge authentication assertions in SAML responses.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203