CVE-2025-27509: Github.com/fleetdm/fleet/v4 Fleet Has SAML Authentication Vulnerability Vulnerability
CRITICALCVE-2025-27509 is a CRITICAL fleet has saml authentication vulnerability vulnerability (CWE-285: Improper Authorization) affecting Github.com/fleetdm/fleet/v4 libraries in the Go ecosystem. The issue involves fleet has saml authentication vulnerability due to improper saml response validation. Remediation is available by upgrading affected packages to version 4.64.2, 4.63.2, 4.62.4, 4.58.1, 4.53.2.
CVE-2025-27509 at a Glance
How to Fix CVE-2025-27509
To remediate this vulnerability, upgrade all affected Github.com/fleetdm/fleet/v4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/fleetdm/fleet/v4 to 4.64.2
Upgrade github.com/fleetdm/fleet/v4 to 4.63.2
Upgrade github.com/fleetdm/fleet/v4 to 4.62.4
Upgrade github.com/fleetdm/fleet/v4 to 4.58.1
Upgrade github.com/fleetdm/fleet/v4 to 4.53.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/fleetdm/fleet/v4
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-27509, inspect your project dependencies for Github.com/fleetdm/fleet/v4:
inspect dependencies for github.com/fleetdm/fleet/v4
Analyze the terminal output to locate any version of Github.com/fleetdm/fleet/v4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.64.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Github.com/fleetdm/fleet/v4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-27509 Affected Github.com/fleetdm/fleet/v4 Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/fleetdm/fleet/v4
|
Go |
≥ 4.64.0
< 4.64.2
|
4.64.2
|
|
github.com/fleetdm/fleet/v4
|
Go |
≥ 4.63.0
< 4.63.2
|
4.63.2
|
|
github.com/fleetdm/fleet/v4
|
Go |
≥ 4.62.0
< 4.62.4
|
4.62.4
|
|
github.com/fleetdm/fleet/v4
|
Go |
≥ 4.54.0
< 4.58.1
|
4.58.1
|
|
github.com/fleetdm/fleet/v4
|
Go |
< 4.53.2
|
4.53.2
|
References
Frequently Asked Questions
What is CVE-2025-27509?
Which Github.com/fleetdm/fleet/v4 versions are affected?
What version fixes CVE-2025-27509?
Is github.com/fleetdm/fleet/v4 affected?
What CWE is associated with CVE-2025-27509?
How can I check Go dependencies for CVE-2025-27509?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-52jx-g6m5-h735",
"modified" : "2026-01-21T16:51:42Z",
"published" : "2025-03-06T19:12:27Z",
"aliases" : [ "CVE-2025-27509" ],
"summary" : "Fleet has SAML authentication vulnerability due to improper SAML response validation",
"details" : "### Summary\n\nA 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).\n\n### Impact\n\nIn vulnerable versions of Fleet, an attacker could craft a specially-formed SAML response to:\n\n- Forge authentication assertions, potentially impersonating legitimate users.\n- If Just-In-Time (JIT) provisioning is enabled, the attacker could provision a new administrative user account.\n- If MDM enrollment is enabled, certain endpoints could be used to create new accounts tied to forged assertions.\n\nThis could allow unauthorized access to Fleet, including administrative access, visibility into device data, and modification of configuration. \n\n### Patches\n\nThis issue is addressed in commit [fc96cc4](https://github.com/fleetdm/fleet/commit/fc96cc4e91047250afb12f65ad70e90b30a7fb1c) and is available in Fleet version 4.64.2.\n\nThe following backport versions also address this issue: \n\n- 4.63.2\n- 4.62.4\n- 4.58.1\n- 4.53.2\n\n### Workarounds\n\nIf an immediate upgrade is not possible, Fleet users should temporarily disable [single-sign-on (SSO)](https://fleetdm.com/docs/deploy/single-sign-on-sso) and use password authentication.\n\n### Credit\n\nThank 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](https://github.com/fleetdm/fleet/blob/main/SECURITY.md).\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n- Email us at security@fleetdm.com\n- Join #fleet in [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw)",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/fleetdm/fleet/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.64.0"
}, {
"fixed" : "4.64.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/fleetdm/fleet/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.63.0"
}, {
"fixed" : "4.63.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/fleetdm/fleet/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.62.0"
}, {
"fixed" : "4.62.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/fleetdm/fleet/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.54.0"
}, {
"fixed" : "4.58.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/fleetdm/fleet/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.53.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/fleetdm/fleet/security/advisories/GHSA-52jx-g6m5-h735"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27509"
}, {
"type" : "WEB",
"url" : "https://github.com/fleetdm/fleet/commit/718c95e47ad010ad6b8ceb3f3460e921fbfc53bb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/fleetdm/fleet"
}, {
"type" : "WEB",
"url" : "https://github.com/fleetdm/fleet/releases/tag/fleet-v4.64.2"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3505"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-285", "CWE-74" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-06T19:12:27Z",
"nvd_published_at" : "2025-03-06T19:15:27Z"
}
}