MinIO allows an SFTP authentication bypass due to improperly trusted SSH key
MediumCVE-2025-27414 · Published Mar 3, 2025 · updated Mar 4, 2025
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| github.com/minio/minio Go | >= 0.0.0-20240605075113-91e1487de457, < 0.0.0-20250227184332-4c71f1b4ec0f | 0.0.0-20250227184332-4c71f1b4ec0f |
Details and references
### 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).
- CVSS 4.0
- 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
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-287
- Also known as
- BIT-minio-2025-27414, CVE-2025-27414, GO-2025-3495
More MinIO advisories
All MinIO| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Apr 42025 | MinIO performs incomplete signature validation for unsigned-trailer uploads CVE-2025-31489Highfixed in 0.0.0-20250403145552-8c70975283f9 | High | 0.0.0-20250403145552-8c70975283f9 |
| Dec 162024 | MinIO vulnerable to privilege escalation in IAM import API CVE-2024-55949Highfixed in 0.0.0-20241213221912-68b004a48f41 | High | 0.0.0-20241213221912-68b004a48f41 |
| Oct 162025 | MinIO is Vulnerable to Privilege Escalation via Session Policy Bypass in Service Accounts and STS CVE-2025-62506High8.1fixed in 0.0.0-20251015170045-c1a49490c78e | High8.1 | 0.0.0-20251015170045-c1a49490c78e |
| May 292024 | MinIO information disclosure vulnerability CVE-2024-36107Medium5.3fixed in 0.0.0-20240527191746-e0fe7cc39172 | Medium5.3 | 0.0.0-20240527191746-e0fe7cc39172 |
| Mar 19 | MinIO has JWT Algorithm Confusion in OIDC Authentication CVE-2026-33322Criticalno fix yet | Critical | No fix yet |
| Mar 20 | MinIO LDAP login brute-force via user enumeration and missing rate limit CVE-2026-33419Criticalno fix yet | Critical | No fix yet |