In September 2023, the security firm Wiz disclosed that Microsoft's AI research team had accidentally exposed 38 terabytes of private data. The cause was a single overly permissive access token, published in a public GitHub repository that offered open-source image-recognition models. The case shows how fast-moving AI research and cloud misconfiguration combine.
Microsoft's researchers were doing something ordinary: sharing open-source models through a public GitHub repository. To let people download them from Azure Storage, they generated a Shared Access Signature (SAS) token, a signed URL that grants access without a login. The intent was to share the model files. The result was far broader.
How a share became an exposure
Two mistakes compounded. First, the SAS token covered the entire storage account, where a single container or folder would have been enough. Second, it carried full-control permissions where read-only would have been enough. Anyone who found the token could read everything in the account and could also delete or overwrite files, including the very models other people would download. In an AI supply chain, write access to a popular model repository is a poisoning vector as well as a confidentiality problem.
Wiz reported that the account held 38TB of private data beyond the models, including backups of two employees' workstations. The backups contained passwords to Microsoft services, secret keys, and over 30,000 internal Microsoft Teams messages from 359 employees. According to Wiz, the token was first committed to GitHub in July 2020 with an expiry of October 2021, and the expiry was later changed to October 2051. Wiz reported it to Microsoft on 22 June 2023, so the token was exposed for nearly three years.
Why AI research raises the volume
AI research is unusually data-hungry. Teams routinely move terabytes of models, datasets, and checkpoints, and they share them widely and informally to collaborate. That open sharing helps research, and it also lets one careless token expose 38TB. The larger and more casual the data flows, the more a single misconfiguration exposes.
issued: full-control, entire storage account, expires in years
What defenders should take from it
- Treat SAS tokens as credentials. Scope them to the narrowest path, grant read-only unless write is genuinely required, and set short expirations. A token that never expires is a permanent key.
- Scan repositories for secrets, including tokens in URLs. Secret-scanning that only looks for API keys and passwords can miss a signed storage URL.
- Inventory external sharing. Know which storage accounts can be reached without authentication, and review account-level access grants regularly. You cannot revoke a share you do not know exists.
- Separate data-sharing accounts from everything else. Backups, secrets, and internal chat history should never live in the same storage account as public research data.
Microsoft invalidated the token on 24 June 2023, two days after the report, and said no customer data was exposed. Wiz published its findings on 18 September 2023. Teams that stand up AI research programs face the same mix: enormous data volumes, casual sharing, and access controls added late. You cannot secure the AI data you have not mapped, and here the most dangerous object was one line of a URL.
Primary source. 38TB of data accidentally exposed by Microsoft AI researchers, Wiz, by Hillai Ben-Sasson and Ronny Greenberg, 18 September 2023.