# CVE-2025-27414: MinIO SFTP authentication bypass due to improperly trusted SSH key

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.6
- **CVSS:** 4.6 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Unreported
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-26)
- **CWE:** CWE-287
- **Aliases:** GHSA-wc79-7x8x-2p58, GO-2025-3495
- **Published:** 2025-02-28T21:06:58.155Z
- **Modified:** 2026-10-08T08:11:01.883Z

## Who should check

- Projects that depend on Go package github.com/minio/minio (\>= 0.0.0-20240605075113-91e1487de457, \< 0.0.0-20250227184332-4c71f1b4ec0f)
- Anyone running minio \>= RELEASE.2024-06-06T09-36-42Z, \< RELEASE.2025-02-28T09-55-16Z

## 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.

## Affected and fixed versions

- Go `github.com/minio/minio`: affected \>= 0.0.0-20240605075113-91e1487de457, \< 0.0.0-20250227184332-4c71f1b4ec0f; fixed 0.0.0-20250227184332-4c71f1b4ec0f (osv)
- minio: \>= RELEASE.2024-06-06T09-36-42Z, \< RELEASE.2025-02-28T09-55-16Z (cvelist)

## Mitigation

- Upgrade github.com/minio/minio to 0.0.0-20250227184332-4c71f1b4ec0f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-27414. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27414.md
Affected: github.com/minio/minio >= 0.0.0-20240605075113-91e1487de457, < 0.0.0-20250227184332-4c71f1b4ec0f
Fixed in: 0.0.0-20250227184332-4c71f1b4ec0f

Steps:
1. Search this machine and project for github.com/minio/minio (Go), minio: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-27414 being exploited?

There is no confirmed exploitation: CVE-2025-27414 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.97% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-27414?

Medium: CVSS 4.6 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-27414?

github.com/minio/minio \>= 0.0.0-20240605075113-91e1487de457, \< 0.0.0-20250227184332-4c71f1b4ec0f.

### Is there a fix for CVE-2025-27414?

Yes. Fixed in 0.0.0-20250227184332-4c71f1b4ec0f. Upgrade github.com/minio/minio to 0.0.0-20250227184332-4c71f1b4ec0f or later.

### How do I check if I'm affected by CVE-2025-27414?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/minio/minio/security/advisories/GHSA-wc79-7x8x-2p58>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-27414>
- patch: <https://github.com/minio/minio/commit/4c71f1b4ec0fb2a473ddaac18c20ec9e63f267ec>
- patch: <https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa>
- other: <https://github.com/minio/minio>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-27414>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-wc79-7x8x-2p58> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2025-3495> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-27414> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-27414>
