MSA-2026-003

Multi-OIDC provider confusion via missing ISS claim validation

Advisory IDMSA-2026-003
CVE ID CVE-2026-55802
CWE CWE-346
SeverityHigh
CVSS v4.0 Score8.7
CVSS v4.0 VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected productMinIO AIStor
Affected versions>= RELEASE.2022-04-29T01-27-09Z, < RELEASE.2026-05-28T20-50-32Z
Fixed inRELEASE.2026-05-28T20-50-32Z
DisclosedOctober 22, 2026
Last updatedOctober 22, 2026

Description

When multiple OpenID Connect (OIDC) providers are configured via MINIO_IDENTITY_OPENID_*, MinIO loads every provider's JWKS keys into a single in-memory map indexed only by JWT kid. The STS AssumeRoleWithWebIdentity and AssumeRoleWithClientGrants actions validate the incoming JWT against the provider selected by the request's RoleArn, but the validation checks only the JWT signature and that the aud (audience) claim, or the azp (authorized party) claim, contains the target provider's Client ID. It does not compare the JWT's iss (issuer) claim against the target provider's configured issuer. This violates OIDC Core 1.0 §3.1.3.7 requirement 2 and RFC 7519 §4.1.1.

An attacker who can mint a JWT from Provider A whose aud or azp claim contains Provider B's Client ID can submit that token to MinIO's STS endpoint targeting Provider B's role ARN. Such a token can be obtained by exploiting a malicious or compromised Provider A, or by using a provider that lets clients request tokens with a chosen audience (for example, the Auth0 audience parameter, Keycloak audience mappers, or the OAuth2 resource parameter). MinIO resolves Provider A's signing key from the shared map by kid, verifies the signature, confirms that the audience matches Provider B's Client ID, accepts the token, and issues STS credentials scoped to Provider B's role policy.

If one of the configured providers assigns policies from a claim in the token rather than through a role policy, a request that targets that provider takes its policy names from the forged token itself. An attacker who controls the claims in Provider A's tokens can therefore obtain credentials for any policy defined on the cluster, including administrative policies.

Single-OIDC-provider deployments are not exploitable through this path, because the bypass requires at least two configured providers. Earlier releases, from before multi-OIDC support was introduced, are not affected. The archived open-source minio/minio server is affected from RELEASE.2022-04-29T01-27-09Z through its final release and will not receive a fix.

Impact

Attack prerequisites

  • The MinIO deployment has more than one OIDC provider configured via MINIO_IDENTITY_OPENID_*. Single-provider and default deployments are not exploitable.
  • The attacker can mint a JWT from one of those providers whose aud or azp claim contains the target provider's Client ID, either by controlling the provider's signing infrastructure or by using provider features that allow audience selection (for example, the Auth0 audience parameter, Keycloak audience mappers, or the OAuth2 resource parameter).
  • The attacker knows the Client ID of the target provider. Client IDs are not secrets: they are part of the OIDC configuration and frequently appear in operator-visible documentation.
  • To obtain administrative policies, one of the configured providers takes policies from a token claim, and the attacker controls the claims in the tokens they present, for example because they operate or have compromised Provider A.

What an attacker can do

  • Obtain STS credentials for any role policy attached to a configured OIDC provider. If a provider is configured to take policies from a token claim, obtain credentials for any policy defined on the cluster, including policies that grant administrative control.
  • Access, modify, or delete data in buckets the attacker's own provider policy explicitly does not allow.
  • Bypass inter-tenant isolation in multi-tenant deployments that rely on separate OIDC providers as their trust boundary.

Patches

Fixed in: MinIO AIStor RELEASE.2026-05-28T20-50-32Z.

The fix binds every JWT to its issuing provider with two independent controls:

  1. The STS validation routine now compares the token's iss claim against the target provider's discovery-document Issuer Identifier and rejects mismatches.
  2. The in-memory JWKS cache is namespaced per provider so a kid registered for one provider cannot be used to verify a token presented for another provider's role ARN.

Upgrade to MinIO AIStor RELEASE.2026-05-28T20-50-32Z or later, available from https://dl.min.io/aistor/minio/.

Workarounds

There is no complete workaround for the deployments most at risk. Multi-tenant clusters that use distinct OIDC providers as their inter-tenant trust boundary are the configuration this bypass targets, and the only way to make the bypass unreachable is to remove that configuration. For these clusters, upgrading to a fixed AIStor release is the only effective mitigation.

For deployments that use several OIDC providers for a single population of users (for example, during a migration), the impact is limited only if every provider's role policy grants the same access and no provider is configured to take policies from a token claim. Otherwise a user of one provider can obtain the other provider's access.

If upgrading is not immediately possible:

  • If a provider is configured to take policies from a token claim, reconfigure it to use a role policy, or remove it. This removes the path to arbitrary policies, including administrative ones, but not the path to other providers' role policies.
  • For single-tenant deployments, reconfigure MinIO to use only one OIDC provider via MINIO_IDENTITY_OPENID_*. With a single provider configured, the cross-provider confusion path is not reachable. This does not help multi-tenant deployments that use separate providers as a trust boundary, because removing the extra providers would also remove the separation those deployments rely on.

These measures reduce exposure but do not remove it; upgrading is the durable fix.

Credits

Name Credit type Notes
Eren Akdag finder Independent report.
Sveinn finder Independent report.
Aditya Manthramurthy remediation developer MinIO.

References

Revision history

Date Revision
2026-06-09 Private disclosure to MinIO customers
2026-06-17 CVE ID assigned (CVE-2026-55802)
2026-08-31 CVSS attack-requirements metric revised from Present to None: the deployment and identity-provider conditions this bypass needs are stable facts, already stated under Attack prerequisites, rather than conditions an attacker must win on each attempt. Score 7.6 to 8.6; severity remains High. No change to the affected versions, the fix, or the conditions under which the issue is reachable.
2026-10-17 Corrected the impact when a provider assigns policies from a token claim, and the Workarounds. CVSS score revised from 8.6 to 8.7.
2026-10-22 Public disclosure