We apologize for the disruption caused by the Microsoft Agent Framework repository’s temporary unavailability. This is a necessary precaution. We’re working to restore access as soon as possible, but don’t yet have a confirmed timeline. The repository will remain unavailable until we can confidently determine it is safe to re-enable.
On November 17, 2026, two versions of the agent-framework Python package, 1.26.1 and 1.26.2, were uploaded to PyPI without authorization. Both contained code that steals credentials. Both have been removed from PyPI, and the PyPI advisory PYSEC-2026-4388 has the full technical details. The affected package was the agent-framework Python meta-package. Other Microsoft Agent Framework Python packages were not affected.
The malicious code was in the published packages, not in the repository itself. Version 1.26.0 and earlier are not affected. .NET packages and Semantic Kernel are not affected. Microsoft Agent Framework has not been discontinued.
Check whether you installed an affected version
The versions were available for a short time on November 17. You may have received one if you installed or upgraded agent-framework without a version pin, ran CI or a container build without a pin or lockfile, or merged an automated update to 1.26.1 or 1.26.2. PyPI removal does not remove copies already downloaded. Check lockfiles, pip freeze output, CI logs, container images, internal package mirrors, artifact proxies, and pip caches.
Look for these files in site-packages:
| Version | Indicator files |
| 1.26.1 | agent_framework_meta.pth, agent_framework_meta/_telemetry.py |
| 1.26.2 | af_runtime_diag.pth, af_runtime_diag.py |
If you installed 1.26.1 or 1.26.2
Treat the machine, container, or CI job as compromised. The code runs when Python starts in that environment, even if your application doesn’t import the package.
- Rotate every credential the environment could access, including cloud identities, CI/CD and package registry tokens, API keys, and Git credentials.
- Rebuild from a clean image. Don’t downgrade in place; remove affected environments, images, caches, and copies in internal mirrors or proxies.
- Review cloud and CI audit logs from November 17 onward for unrecognized activity involving those credentials.
The advisory provides further indicators to help scope credential rotation and review network logs.
If you did not install either version
Pin to agent-framework==1.26.0, or pin the exact sub-packages that you need, and hold at that version until Microsoft provides further guidance. No action is needed beyond this pinning recommendation if you never installed 1.26.1 or 1.26.2. We’ll update this post if our assessment changes.
Need Further Assistance?
You can reach out to our team on Discord, and for help using Agent Framework with Microsoft Foundry, you can reach out to Azure Support.
0 comments