Package vulnerability, severity medium
Strands Agents Tools http_request leaks API key on cross-host redirect (CVE-2026-137930)
Published
The http_request tool in strands-agents-tools before 0.8.8 forwarded an API key in the X-API-Key header when an allowlisted host redirected to a different host. An actor who can place content an agent reads and knows of such a redirect could obtain the key. The issue is limited to key disclosure; the package is now deprecated and will not receive further updates.
What's affected
- strands-agents-tools (pypi)<0.8.8
What to do
- Upgrade strands-agents-tools to 0.8.8 or later, or migrate to the http_request tool in the Strands Agents SDK.
- Rotate API keys configured through HTTP_REQUEST_TOKEN_CONFIG on earlier versions.
- Patch any forked or derivative code to include the fix.
- If you cannot upgrade, bind API keys with an auth type that sends them in the Authorization header instead of api_key.
Secrets to rotate if you were affected
AI API keys.
Check whether you were affected
To check a machine, run this in Claude Code with the Pharon plugin, in the repository that uses it. The check is free and needs no account:
/pharon:check-incident strands-agents-tools-api-key-redirect-2026-11Don't wait for the next one to reach the news. Pharon tells the team that owns the affected repo within minutes. Free for 7 days, no card.
Get alerted for the next oneReferences
Notice strands-agents-tools-api-key-redirect-2026-11, signed with key feed-prod-2026-10 (Ed25519). The Pharon CLI verifies the signature before using a notice.