MinIO SFTP authentication bypass due to improperly trusted SSH key
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
MinIO is a high performance object storage. Starting in RELEASE.2024-06-06T09-36-42Z and prior to RELEASE.2025-02-28T09-55-16Z, a bug in evaluating the trust of the SSH key used in an SFTP connection to MinIO allows authentication bypass and unauthorized data access. 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). Three requirements must be met in order to exploit the vulnerability. First, the MinIO server must be configured to allow SFTP access and use LDAP as an external identity provider. Second, the attacker must have knowledge of an LDAP username that does not have the `sshPublicKey` property set. Third, 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). Version 1.2.0 fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MinIO | minio | >= RELEASE.2024-06-06T09-36-42Z, < RELEASE.2025-02-28T09-55-16Z | — | No fix listed | CNA |
| — | github.com/minio/minio (Go) | 0.0.0-20240605075113-91e1487de457 to before 0.0.0-20250227184332-4c71f1b4ec0f | 0.0.0-20250227184332-4c71f1b4ec0f | Patch available | GHSA-wc79-7x8x-2p58 |
- minio VendorMinIO Affected >= RELEASE.2024-06-06T09-36-42Z, < RELEASE.2025-02-28T09-55-16Z Fixed in — No fix listed CNA
- github.com/minio/minio (Go) Vendor— Affected 0.0.0-20240605075113-91e1487de457 to before 0.0.0-20250227184332-4c71f1b4ec0f Fixed in 0.0.0-20250227184332-4c71f1b4ec0f Patch available GHSA-wc79-7x8x-2p58
Remediation
- Fix · GHSA-wc79-7x8x-2p58 github.com/minio/minio (Go) Fixed in 0.0.0-20250227184332-4c71f1b4ec0f Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-27414
- 2026-10-03 Alias added: GHSA-wc79-7x8x-2p58
References
More MinIO vulnerabilities
- TI-2023-12978 MinIO is vulnerable to privilege escalation on Linux/MacOS KEVCVSS 3.1HIGH 8.8
- TI-2023-12976 Minio Information Disclosure in Cluster Deployment KEVCVSS 3.1HIGH 7.5
- TI-2023-11082 Allowed DELETE on resources on object locked buckets under Governance mode in Minio CVSS 3.1HIGH 8.8
- TI-2024-16264 MinIO unsafe default: Access keys inherit `admin` of root user, allowing privilege escalation CVSS 3.1HIGH 8.8
- TI-2022-08654 Improper Privilege Management in MinIO CVSS 3.1HIGH 8.8
- TI-2021-18098 Authentication bypass issue in the Operator Console CVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-27414 · CVE Program
- CVE-2025-27414 · NVD
- FIRST EPSS
- GHSA-wc79-7x8x-2p58 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-27414 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences