Which PyPI releases were affected?
On 17 November 2026, two releases of the agent-framework Python meta-package, 1.26.1 and 1.26.2, were uploaded to PyPI without authorisation. Microsoft says both contained credential-stealing code. PyPI removed both releases. Microsoft limits the incident to this Python meta-package and says that version 1.26.0, the other Python packages in the framework and the .NET packages were unaffected by it.
The operational question is whether any of your environments downloaded or installed either affected version. An unpinned build or an automatically merged dependency update is a reason to check. [1] [2]
Where to look for copies already downloaded
Start with the artifacts you actually distributed or deployed. Compare CI logs, lockfiles and any software bill of materials recorded for the specific image. Include earlier builds, internal package mirrors and caches. Today's lockfile cannot establish what is inside an older image that is still running.
Inspect available metadata from a clean environment. Avoid starting a suspect Python environment to take inventory. Link the package finding to the build ID, image digest and deployment, so you can identify the jobs and workloads that need attention. [1]
Schematic of the incident. The lower track explains why the package version needs to be checked on the actual build artifact.
Public registry
- 17 November: Two releases uploaded
- PyPI removes the releases
- No longer available from PyPI
Your infrastructure
- A build ran in the relevant period
- A local copy may remain
- Verify the version in the artifact
What to do with each finding
Record the finding for each environment. A copy in a package cache alone is evidence that it was present there. Establish separately whether a job or workload installed it. Microsoft recommends treating an environment that installed either version as compromised. [1] [2]
- Affected version installed: isolate the environment, preserve evidence and work with the responsible teams to revoke or rotate all credentials it could access.
- Version unresolved: keep the finding open, establish the affected period and inspect more build and deployment records.
- A different version confirmed in the deployed artifacts: document the environments and dates for which you have that evidence.
Rebuild cleanly and verify what is running
Rebuild affected environments from a trusted base and pin a version the vendor has cleared. Coordinate the containment of copies in package mirrors and caches with the investigation. Downgrading the package inside the old environment leaves other parts of the incident unaddressed.
Check the new artifact's resolved dependencies before release. Confirm that the verified artifact is the one running. For affected environments, review cloud and CI audit logs from 17 November onwards. Record which credentials were rotated or revoked and which gaps still require investigation. [1]
