Medium severity · published Feb 28, 2025
CVE-2025-27414
MinIO SFTP authentication bypass due to improperly trusted SSH key
4.6
CVSS
0.6%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MI
minio · minio
>= RELEASE.2024-06-06T09-36-42Z, < RELEASE.2025-02-28T09-55-16Z · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-27414
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-27414
github.com
https://github.com/minio/minio/commit/4c71f1b4ec0fb2a473ddaac18c20ec9e63f267ec
github.com
https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa
github.com
https://github.com/minio/minio/security/advisories/GHSA-wc79-7x8x-2p58
More from minio
8.8
CVE-2023-28434
MinIO is vulnerable to privilege escalation on Linux/MacOS
7.5
CVE-2023-28432
Minio Information Disclosure in Cluster Deployment
9.8
CVE-2026-33322
MinIO: JWT Algorithm Confusion in OIDC Authentication
9.3
CVE-2024-55949
Privilege escalation in IAM import API in MinIO
8.8
CVE-2024-24747
MinIO unsafe default: Access keys inherit `admin` of root user, allowing privilege escalation
