CVE-2025-27414: Github.com/minio/minio Authentication Bypass Vulnerability
MODERATECVE-2025-27414 is a MODERATE authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Github.com/minio/minio libraries in the Go ecosystem. The issue involves minio allows an sftp authentication bypass due to improperly trusted ssh key. Remediation is available by upgrading affected packages to version 0.0.0-20250227184332-4c71f1b4ec0f.
CVE-2025-27414 at a Glance
How to Fix CVE-2025-27414
To remediate this vulnerability, upgrade all affected Github.com/minio/minio 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/minio/minio to 0.0.0-20250227184332-4c71f1b4ec0f
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/minio/minio
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-27414, inspect your project dependencies for Github.com/minio/minio:
inspect dependencies for github.com/minio/minio
Analyze the terminal output to locate any version of Github.com/minio/minio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20250227184332-4c71f1b4ec0f), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Github.com/minio/minio, 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-27414 Affected Github.com/minio/minio Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/minio/minio
|
Go |
≥ 0.0.0-20240605075113-91e1487de457
< 0.0.0-20250227184332-4c71f1b4ec0f
|
0.0.0-20250227184332-4c71f1b4ec0f
|
References
Frequently Asked Questions
What is CVE-2025-27414?
Which Github.com/minio/minio versions are affected?
What version fixes CVE-2025-27414?
Is github.com/minio/minio affected?
What CWE is associated with CVE-2025-27414?
How can I check Go dependencies for CVE-2025-27414?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wc79-7x8x-2p58",
"modified" : "2025-03-03T19:56:58Z",
"published" : "2025-03-03T19:56:58Z",
"aliases" : [ "CVE-2025-27414" ],
"summary" : "MinIO allows an SFTP authentication bypass due to improperly trusted SSH key",
"details" : "### Summary\n_A bug in evaluating the trust of the SSH key used in an SFTP connection to MinIO allows authentication bypass and unauthorized data access._\n\n### Details\n\nOn a MinIO server with SFTP access configured and using LDAP as an external identity provider, MinIO supports SSH key based authentication for SFTP connections when the user has the `sshPublicKey` attribute set in their LDAP server. The server trusts the client's key only when the public key is the same as the `sshPublicKey` attribute.\n\nDue to the bug, when the user has no `sshPublicKey` property in LDAP, the server ends up trusting the key allowing the client to perform any FTP operations allowed by the MinIO access policies associated with the LDAP user (or any of their groups).\n\nThe bug was introduced in https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa.\n\n### Impact\n\nThe following requirements must be met to exploit this vulnerability:\n\n1. MinIO server must be configured to allow SFTP access and use LDAP as an external identity provider.\n2. Knowledge of an LDAP username that does not have the `sshPublicKey` property set.\n3. Such an LDAP username or one of their groups must also have some MinIO access policy configured.\n\nWhen this bug is successfully exploited, the attacker can perform any FTP operations (i.e. reading, writing, deleting and listing objects) allowed by the access policy associated with the LDAP user account (and their groups).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/minio/minio"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0-20240605075113-91e1487de457"
}, {
"fixed" : "0.0.0-20250227184332-4c71f1b4ec0f"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/minio/minio/security/advisories/GHSA-wc79-7x8x-2p58"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27414"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/commit/4c71f1b4ec0fb2a473ddaac18c20ec9e63f267ec"
}, {
"type" : "WEB",
"url" : "https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/minio/minio"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-03-03T19:56:58Z",
"nvd_published_at" : "2025-02-28T21:15:27Z"
}
}