Bitbucket Repository Cloning and OAuth Connection Unavailable

Incident Report for Fluid Attacks

Postmortem

Impact

Some users were unable to clone repositories connected to Bitbucket through OAuth, and could not connect or reconnect Bitbucket through OAuth. The issue started on UTC-5 26-10-29 18:57 and was reactively discovered 2.9 days (TTD) later by a staff member who reported, on behalf of a client, that one of its groups had lost access to its Bitbucket repositories. The problem was resolved in 1 day (TTF), resulting in a total window of exposure of 3.9 days (WOE).

  • Cloning: repositories connected through Bitbucket OAuth were marked as failed, so they did not receive new code for analysis, and their pending reattack requests were put on hold.
  • Connections: users who tried to add or reconnect a Bitbucket OAuth credential received an error from Bitbucket instead of the authorization screen. New connections had probably been failing since October 22.
  • Scope: signing in with Bitbucket, repositories from other providers, and Bitbucket repositories connected with other credential types kept working normally.

Cause

Our platform accesses Bitbucket repositories through an OAuth app, which must be associated with a Bitbucket account. The account that held this app became inactive, and as a result Bitbucket disabled the app and the access it had granted. This change occurred on Bitbucket’s side, with no changes to our platform. Our platform interpreted the resulting errors as a temporary Bitbucket issue, and we did not have an alert for failures affecting all Bitbucket connections at once, so the problem was not detected until it was reported.

Solution

We registered a new Bitbucket OAuth app under a company-managed account, with the same read-only access as before, and switched the platform to use it. New Bitbucket OAuth connections now work as expected. Since access granted through the previous app cannot be transferred, affected credentials need to be reconnected from the organization’s Credentials section; our team is reaching out to each affected organization to help with this. We will also document a rotation procedure for this app, add an alert for widespread Bitbucket connection failures, improve how the platform handles this type of error, and use a separate app for our development environment.

Conclusion

This incident showed that a key integration depended on an account that was not centrally managed, and that our monitoring did not distinguish a widespread failure from a temporary provider issue. Managing integration apps under company accounts with documented ownership and rotation steps, and monitoring connection failures across all credentials, would have prevented this outage and allowed us to detect it sooner. ROTATION_FAILURE < INCOMPLETE_PERSPECTIVE < MISSING_ALERT

Posted Nov 04, 2026 - 23:29 GMT-05:00

Resolved

This incident has been resolved.
Posted Nov 04, 2026 - 17:43 GMT-05:00

Monitoring

A fix has been implemented and we are monitoring the results.
Posted Nov 04, 2026 - 17:39 GMT-05:00

Update

We are continuing to work on a fix for this issue
Posted Nov 04, 2026 - 10:40 GMT-05:00

Identified

Since October 29 at 18:57 GMT-05:00, repositories connected through Bitbucket OAuth credentials cannot be cloned, and their cloning status shows “Invalid credentials, access could not be granted prior to the cloning task”. Adding or re-authorizing Bitbucket OAuth credentials from the Credentials section of the organization also fails, with the Bitbucket error “Invalid client_id”. Repositories that use HTTPS or SSH credentials, or other providers (GitHub, GitLab, Azure DevOps), are not affected, and no data was lost or exposed. Our team is working on a fix.
Posted Nov 03, 2026 - 17:11 GMT-05:00
This incident affected: Platform and Cloning.