github.com/minio/minio
Affected
- introduced
0, fixed0.0.0-20251015170045-c1a49490c78e(semver)
Fixed versions
0.0.0-20251015170045-c1a49490c78e
Fix
- Fixed version
0.0.0-20251015170045-c1a49490c78ego get github.com/minio/[email protected]
Advisory
Also known as: CVE-2025-62506, GO-2025-4034
MinIO is Vulnerable to Privilege Escalation via Session Policy Bypass in Service Accounts and STS
Summary
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.
Details
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 Scenario
Impact
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
Patches
Fixed in PR https://github.com/minio/minio/pull/21642
Commit: c1a49490c78e9c3ebcad86ba0662319138ace190
Install the release
go install -v github.com/minio/[email protected]
Workarounds
No workarounds available. You can upgrade to the latest version immediately.
Mitigation Steps
Resources
High Basis: The source's own band: HIGH
0, fixed 0.0.0-20251015170045-c1a49490c78e (semver)0.0.0-20251015170045-c1a49490c78e
0.0.0-20251015170045-c1a49490c78ego get github.com/minio/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0