Weekly caseNovember 12, 2026Identity and Access / CI/CD

Published November 12, 2026 · Confidence: high · Complexity 3/10

env0 November 10, 2026 OIDC deployment failures: a release picked a duplicate identity, and rolling back didn't fix it

On November 10, 2026, between 08:58 and 11:36 UTC, AWS deployments on env0 that authenticate with OIDC failed for a small number of organizations with the error "Not authorized to perform sts:AssumeRoleWithWebIdentity". Managed and self-hosted deployment workers were both affected; other deployments were not. Each organization has an internal identity env0 uses to issue OIDC tokens, and a few organizations had a second, unused copy. A change in that morning's release selected the unused copy, so the token's subject changed and AWS roles that trust a specific subject rejected the tokens. Rolling back the release did not help, because the previous version picks the most recently used identity and the release had been using the duplicate for 2 hours. env0 recovered by pinning the original identities and clearing cached identity lookups.

Investigation trace
Part I · Reported facts (Source extraction)

Facts, hypotheses, timeline steps, and evidence reconstructed directly from the public incident record.

01 / Observed failure

Problem statement

AWS deployments that authenticate with OIDC failed for a small number of env0 organizations on November 10, 2026, with "Not authorized to perform sts:AssumeRoleWithWebIdentity".

02 / Starting hypotheses

What investigators first believed

  • env0's first fix assumed that rolling back the release would restore the previous behavior. It did not, because the previous version selects the identity used most recently, and by then that was the duplicate.
03 / Investigation path

How the diagnosis unfolded

  1. 01

    Failures begin and investigation opens

    At 08:58 UTC env0 posted that AWS deployments using OIDC were failing for some organizations with "Not authorized to perform sts:AssumeRoleWithWebIdentity".

  2. 02

    Release rolled back

    env0 rolled back that morning's release first. This did not help: the previous version picks the most recently used identity, and the release had been using the duplicate for 2 hours.

  3. 03

    Original identities pinned

    env0 marked the duplicate identities so only the original identity could be selected, for every affected organization.

  4. 04

    Identity cache cleared

    Cached identity lookups still pointed to the duplicates. env0 cleared the affected cache entries instead of waiting for them to expire, and deployments recovered at 11:36 UTC.

  5. 05

    Postmortem published

    env0 published its postmortem on the status page at 14:07 UTC the same day.

04 / Diagnostic evidence

What narrowed the fault domain

vendor status page

Error message

Failing deployments returned "Not authorized to perform sts:AssumeRoleWithWebIdentity".

vendor status page · cont.

Duplicate identities

A few organizations had a second, unused copy of the internal identity env0 uses to issue OIDC tokens.

vendor status page · cont.

Token subject change

The release selected the unused copy, which changed the token's subject; AWS roles that trust a specific subject rejected the tokens.

vendor status page · cont.

Cache

env0 caches identity lookups, and the cached results kept pointing to the duplicate after the identities were pinned.

Dead ends

Rolling back the release, which left the duplicate identity selected because the old selection rule favors the most recently used identity.

05 / Direction changes

Key turning points

  1. Realizing the rollback could not undo two hours of the duplicate being 'most recently used'.
  2. Clearing cached identity lookups rather than waiting for them to expire.
06 / Mechanism

Root cause

A few organizations had an unused duplicate of the internal identity env0 uses to issue OIDC tokens. A change in the November 10 release selected the duplicate, which changed the token subject, and AWS roles that trust a specific subject rejected the tokens. The previous version's rule of picking the most recently used identity meant a rollback kept the duplicate in place.

07 / Restoration

Resolution

env0 marked duplicate identities so only the original could be selected for every affected organization, then cleared the affected identity cache entries; deployments recovered at 11:36 UTC. Failed deployments had to be re-run, and no customer AWS or env0 configuration change was needed. Prevention: identity selection now keeps the identity an organization already uses and cannot change once set; env0 is removing the unused duplicates and fixing their cause, adding monitoring for this failure across organizations, and adding a post-release check that the OIDC token identity has not changed.

Lessons from the response

  • A rollback reverts code, not the state the bad code wrote. If selection logic depends on recent usage, a few hours of bad selections become the new 'most recent'.
  • For OIDC federation, the token subject is part of the contract with every customer's cloud role trust policy; a change that alters the subject is a breaking change even if nothing else moves.
  • Caches can keep a fixed system broken; clearing the affected entries was the last step before recovery.
Part II · Analyst synthesis (Casebook commentary)

Reusable diagnostic principles, high-value signals, and anti-patterns synthesized from the reported facts above.

08 / Reusable reasoning · Analyst synthesis

Troubleshooting principles

  1. 01

    Before rolling back, ask what state the release has written and whether the old version will read it.

  2. 02

    Treat identifiers that external trust policies depend on as immutable once issued.

Effective techniques

  • Fixing the data (pinning the original identity) once the rollback failed, instead of rolling back further.
  • Clearing the specific affected cache entries rather than waiting out the expiry.

High-value evidence sources

  • The sub claim of the issued OIDC token compared with the subject condition in the customer's IAM role trust policy.
  • Which identity record the issuer selected per organization, before and after the release.
  • Contents of the identity lookup cache.

Common diagnostic traps

  • Assuming a rollback restores prior behavior when the old code reads state the new code changed.

Anti-patterns observed

  • Selecting among duplicate records by 'most recently used', which lets any transient bad pick become sticky.
  • Leaving unused duplicate identity records in place where selection logic can reach them.
3/10
Diagnostic complexity

The cause is narrow and env0 explained it fully in a same-day postmortem; the teaching value is the failed rollback and the cache step. Analysis items are this publication's reading of env0's postmortem, not env0 statements. env0 did not say how many organizations were affected, what created the duplicate identities, or what the release change was meant to do.

09 / Direct answers

Questions answered

What happened in the env0 November 10, 2026 OIDC deployment failures: a release picked a duplicate identity, and rolling back didn't fix it incident?

AWS deployments that authenticate with OIDC failed for a small number of env0 organizations on November 10, 2026, with "Not authorized to perform sts:AssumeRoleWithWebIdentity".

What was the root cause?

A few organizations had an unused duplicate of the internal identity env0 uses to issue OIDC tokens. A change in the November 10 release selected the duplicate, which changed the token subject, and AWS roles that trust a specific subject rejected the tokens. The previous version's rule of picking the most recently used identity meant a rollback kept the duplicate in place.

How was the root cause discovered?

Realizing the rollback could not undo two hours of the duplicate being 'most recently used'. Clearing cached identity lookups rather than waiting for them to expire.

What evidence mattered most?

Failing deployments returned "Not authorized to perform sts:AssumeRoleWithWebIdentity". A few organizations had a second, unused copy of the internal identity env0 uses to issue OIDC tokens. The release selected the unused copy, which changed the token's subject; AWS roles that trust a specific subject rejected the tokens.

Which assumptions were wrong?

That rolling back the release would return token subjects to their original value.

What delayed recovery?

The approved record describes restoration as follows: env0 marked duplicate identities so only the original could be selected for every affected organization, then cleared the affected identity cache entries; deployments recovered at 11:36 UTC. Failed deployments had to be re-run, and no customer AWS or env0 configuration change was needed. Prevention: identity selection now keeps the identity an organization already uses and cannot change once set; env0 is removing the unused duplicates and fixing their cause, adding monitoring for this failure across organizations, and adding a post-release check that the OIDC token identity has not changed. It does not separately quantify a recovery delay unless stated in that account.

What should operators learn from this case?

A rollback reverts code, not the state the bad code wrote. If selection logic depends on recent usage, a few hours of bad selections become the new 'most recent'. For OIDC federation, the token subject is part of the contract with every customer's cloud role trust policy; a change that alters the subject is a breaking change even if nothing else moves. Caches can keep a fixed system broken; clearing the affected entries was the last step before recovery.

10 / Provenance

Original incident source

Vendor status page postmortemFailed AWS deployments using OIDC authentication →

Root Cause Casebook separates reported facts from analyst synthesis. This public record was explicitly approved before export.