MinIO allows an SFTP authentication bypass due to improperly trusted SSH key
### Summary _A bug in evaluating the trust of the SSH key used in an SFTP connection to MinIO allows authentication bypass and unauthorized data access._ ### Details On 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. Due 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). The bug was introduced in https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa. ### Impact The following requirements must be met to exploit this vulnerability: 1. MinIO server must be configured to allow SFTP access and use LDAP as an external identity provider. 2. Knowledge of an LDAP username that does not have the `sshPublicKey` property set. 3. Such an LDAP username or one of their groups must also have some MinIO access policy configured. When 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).
- Products
- github.com/minio/minio
- Affected versions
- Not specified
- Fixed versions
- 0.0.0-20250227184332-4c71f1b4ec0f
- CVEs
- CVE-2025-27414
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 09:01 UTC · Revision 1
Source evidence
MinIO allows an SFTP authentication bypass due to improperly trusted SSH key
core-osv · Original sourcePublished 3 Mar 2025, 19:56 UTC
### Summary _A bug in evaluating the trust of the SSH key used in an SFTP connection to MinIO allows authentication bypass and unauthorized data access._ ### Details On 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. Due 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). The bug was introduced in https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa. ### Impact The following requirements must be met to exploit this vulnerability: 1. MinIO server must be configured to allow SFTP access and use LDAP as an external identity provider. 2. Knowledge of an LDAP username that does not have the `sshPublicKey` property set. 3. Such an LDAP username or one of their groups must also have some MinIO access policy configured. When 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).
osv:GHSA-wc79-7x8x-2p58
github.com/minio/minio
Fixed versions: 0.0.0-20250227184332-4c71f1b4ec0f
Complete source record
{
"id": "6a871cdfd45f6b6b727a87178660bf0a18fb4d5cf55f4cf830dedb6f9d50d20c",
"url": "https://osv.dev/vulnerability/GHSA-wc79-7x8x-2p58",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "MinIO allows an SFTP authentication bypass due to improperly trusted SSH key",
"summary": "### Summary _A bug in evaluating the trust of the SSH key used in an SFTP connection to MinIO allows authentication bypass and unauthorized data access._ ### Details On 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. Due 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). The bug was introduced in https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa. ### Impact The following requirements must be met to exploit this vulnerability: 1. MinIO server must be configured to allow SFTP access and use LDAP as an external identity provider. 2. Knowledge of an LDAP username that does not have the `sshPublicKey` property set. 3. Such an LDAP username or one of their groups must also have some MinIO access policy configured. When 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).",
"evidence": "osv:GHSA-wc79-7x8x-2p58",
"products": [
{
"name": {
"value": "github.com/minio/minio",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.0.0-20250227184332-4c71f1b4ec0f",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "GHSA-wc79-7x8x-2p58",
"aliases": [
"CVE-2025-27414",
"GHSA-wc79-7x8x-2p58",
"GO-2025-3495"
],
"metrics": [
{
"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": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-20240605075113-91e1487de457"
},
{
"fixed": "0.0.0-20250227184332-4c71f1b4ec0f"
}
]
}
],
"package": {
"name": "github.com/minio/minio",
"purl": "pkg:golang/github.com/minio/minio",
"ecosystem": "Go"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-wc79-7x8x-2p58/GHSA-wc79-7x8x-2p58.json"
}
}
],
"modified": "2026-10-08T08:11:01.883563908Z",
"provider": "osv",
"references": [
"https://github.com/minio/minio/security/advisories/GHSA-wc79-7x8x-2p58",
"https://nvd.nist.gov/vuln/detail/CVE-2025-27414",
"https://github.com/minio/minio/commit/4c71f1b4ec0fb2a473ddaac18c20ec9e63f267ec",
"https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa",
"https://github.com/minio/minio"
],
"provider_metadata": {
"cwe_ids": [
"CWE-287"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2025-02-28T21:15:27Z",
"github_reviewed_at": "2025-03-03T19:56:58Z"
}
},
"related_cves": [
{
"value": "CVE-2025-27414",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 98757,
"published_at": "2025-03-03T19:56:58+00:00"
}