Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

fix: check sub-policy properly when present - #21642

#21642
Merged
harshavardhana merged 1 commit into
minio:masterminio/minio:masterfrom
donatello:bugfixdonatello/minio:bugfixCopy head branch name to clipboard
Oct 15, 2025
Merged

fix: check sub-policy properly when present#21642
harshavardhana merged 1 commit into
minio:masterminio/minio:masterfrom
donatello:bugfixdonatello/minio:bugfixCopy head branch name to clipboard

Conversation

@donatello

Copy link
Copy Markdown
Member

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers
under the terms of the Apache 2 license.
By creating this pull request I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 license.

Description

This fixes a security issue where sub-policy attached to a service account or STS account is not properly validated under certain "own" account operations (like creating new service accounts). This allowed a service account to create new service accounts for the same user bypassing the inline policy restriction.

Motivation and Context

How to test this PR?

Tests included.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Optimization (provides speedup with no functional changes)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • Fixes a regression (If yes, please add commit-id or PR # here)
  • Unit tests added/updated
  • Internal documentation updated
  • Create a documentation update request here

This fixes a security issue where sub-policy attached to a service
account or STS account is not properly validated under certain "own"
account operations (like creating new service accounts). This allowed a
service account to create new service accounts for the same user
bypassing the inline policy restriction.
@donatello donatello self-assigned this Oct 15, 2025
@harshavardhana
harshavardhana merged commit c1a4949 into minio:master Oct 15, 2025
21 checks passed
@donatello
donatello deleted the bugfix branch October 15, 2025 17:01
lifw555 pushed a commit to lifw555/minio that referenced this pull request Nov 18, 2025
This fixes a security issue where sub-policy attached to a service
account or STS account is not properly validated under certain "own"
account operations (like creating new service accounts). This allowed a
service account to create new service accounts for the same user
bypassing the inline policy restriction.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.