Public mode

No access to your tenant or devices. Every item links to its source. What this means

Some sources, documents or advisories need attention: 275/275 feeds/APIs · 469/469 docs · 8/9 advisories · checked 00:13 UTC Customize Public modeDiscuss ChangeIntel on Discord

MinIO is Vulnerable to Privilege Escalation via Session Policy Bypass in Service Accounts and STS

Exact source revision recorded 24 Oct 2026 13:19:41 UTC. It does not establish the source's current position. Latest evidence.

osv · GHSA-jjjj-jwhf-8rgr

Published

### 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/[email protected] ``` ### 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)

Source published
16 Oct 2025 21:36:06 UTC
Source modified
8 Oct 2026 08:11:02 UTC
Observed here
24 Oct 2026 13:19:41 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: osv · GitHub Advisory Database · CC-BY-4.0. Source text is retained; field grouping and change labels are provided by ChangeIntel.

CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Publisher rating · HIGH

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 9 Nov 00:13 UTC · 275 of 275 readable · 273 fully read · documentation 469/469 current