CVE-2025-62506: MinIO vulnerable to privilege escalation via session policy bypass in service accounts and STS

Published Oct 16, 2025
·
Updated

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 1. An administrator creates a service account or STS account with a restricted inline policy (e.g., access only to bucket1 and bucket2) 2. The restricted account attempts to create a new service account for itself without specifying any policy restrictions 3. Due to the bypass, the new service account is created with full parent privileges instead of being restricted by the inline policy 4. The attacker now has escalated privileges beyond the intended restrictions

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/minio@RELEASE.2025-10-15T17-29-55Z

Workarounds No workarounds available. You can upgrade to the latest version immediately.

Mitigation Steps

1. Upgrade MinIO: Update to the latest version containing the fix 2. Audit Service Accounts: Review all service accounts created by non-admin accounts 3. Revoke Suspicious Accounts: Delete any service accounts that may have been created through exploitation 4. Review Access Logs: Check for unauthorized access to sensitive buckets

Resources

- Fix PR: https://github.com/minio/minio/pull/21642 - Affected code: cmd/iam.go (functions: isAllowedBySessionPolicyForServiceAccount, isAllowedBySessionPolicy)

Other sources

MinIO is a high-performance object storage system. In all versions prior to RELEASE.2025-10-15T17-29-55Z, 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 operations on their own account, specifically when creating new service accounts for the same user. The vulnerability exists in the IAM policy validation logic where the code incorrectly relied on the DenyOnly argument when validating session policies for restricted accounts. When a session policy is present, the system should validate that the action is allowed by the session policy, not just that it is not denied. An attacker with valid credentials for a restricted service or STS account can create a new service account for itself without policy restrictions, resulting in a new service account with full parent privileges instead of being restricted by the inline policy. This allows the attacker to access buckets and objects beyond their intended restrictions and modify, delete, or create objects outside their authorized scope. The vulnerability is fixed in version RELEASE.2025-10-15T17-29-55Z.

MITRE

Affected Software

2 affected componentsFixes available
MinIO MinIO<RELEASE.2025-10-15T17-29-55Z
go/github.com/minio/minio<0.0.0-20251015170045-c1a49490c78e
0.0.0-20251015170045-c1a49490c78e

Event History

Oct 16, 2025
CVE Published
via MITRE·09:17 PM
Data Sourced
via MITRE·09:17 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:36 PM
Data Sourced
via GitHub·09:36 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-62506?

CVE-2025-62506 is classified as a privilege escalation vulnerability that can allow unauthorized access to restricted privileges.

2

How do I fix CVE-2025-62506?

To fix CVE-2025-62506, upgrade to MinIO version RELEASE.2025-10-15T17-29-55Z or later.

3

Which versions of MinIO are affected by CVE-2025-62506?

CVE-2025-62506 affects all versions of MinIO prior to RELEASE.2025-10-15T17-29-55Z.

4

What kind of accounts are impacted by CVE-2025-62506?

CVE-2025-62506 impacts service accounts and STS (Security Token Service) accounts with restricted session policies.

5

Can CVE-2025-62506 lead to unauthorized data access?

Yes, CVE-2025-62506 could potentially allow unauthorized users to bypass inline policy restrictions, leading to data access vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203