CVE-2025-62506High· 8.1▾ MidnightPoC availableMinIO is Vulnerable to Privilege Escalation via Session Policy Bypass in Service Accounts and STS
▾ Midnight zone — Critical, or high with PoC / in-the-wild
impact 44.6 · likelihood 0.1 · exploitation 12
A public proof-of-concept already exists for this vulnerability — see Exploit availability below.
Public exploit / PoC code seen in 1 source. Availability, not in-the-wild use.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
0.6%
1 GitHub repo (last check)
A privilege escalation vulnerability allows service accounts and STS (Security Token Service) accounts with restricted session policies to bypass their inline policy restrictions when performing "own" account operations, specifically when creating new service accounts for the same user.
The vulnerability exists in the IAM policy validation logic in cmd/iam.go. When validating session policies for restricted accounts performing operations on their own account (such as creating service accounts), the code incorrectly relied on the DenyOnly argument.
The DenyOnly flag is used to allow accounts to perform actions related to their own account by only checking if the action is explicitly denied. However, when a session policy (sub-policy) is present, the system should validate that the action is actually allowed by the session policy, not just that it isn't denied.
Attack Complexity: LOW - Exploitation requires only valid credentials for a restricted service/STS account
Confidentiality: HIGH - Attackers can access buckets and objects beyond their intended restrictions
Integrity: HIGH - Attackers can modify, delete, or create objects outside their authorized scope
Availability: NONE - Does not directly impact service availability
Fixed in PR https://github.com/minio/minio/pull/21642 Commit: c1a49490c78e9c3ebcad86ba0662319138ace190
Install the release
go install -v github.com/minio/[email protected]
No workarounds available. You can upgrade to the latest version immediately.
github.com/minio/minio < 0.0.0-20251015170045-c1a49490c78eUpgrade to a patched release:
github.com/minio/minio 0.0.0-20251015170045-c1a49490c78eConnected by shared product, vendor, weakness, or advisory.
CVE-2024-24747High· 8.8Minio unsafe default: Access keys inherit `admin` of root user, allowing privilege escalation
CVE-2023-28434High· 8.8Privilege Escalation on Linux/MacOS
CVE-2025-31489HighMinIO performs incomplete signature validation for unsigned-trailer uploads
CVE-2026-42600Medium· 4.9MinIO vulnerable to Path Traversal via msgpack Body in `ReadMultiple` Storage-REST Endpoint
CVE-2025-27414MediumMinIO allows an SFTP authentication bypass due to improperly trusted SSH key
CVE-2023-28433High· 8.8Minio vulnerable to Privilege Escalation on Windows via Path separator manipulation