CVE-2026-137930: Strands Agents Tools' http_request kept host-restricted API keys on redirects, so a crafted prompt could send them to an attacker's server (fixed 0.8.8)
In Strands Agents Tools before 0.8.8, the http_request tool's redirect handling did not strip sensitive information. API keys that HTTP_REQUEST_TOKEN_CONFIG restricts to allowlisted hosts could be sent onward when a crafted prompt made the agent request a URL that redirects to an attacker-controlled host. Fixed in 0.8.8; AWS recommends moving to the http_request tool in the Strands Agents SDK, as Strands Agents Tools was deprecated in 0.9.0.
What it is
HTTP_REQUEST_TOKEN_CONFIG lets you attach API keys only to requests for allowlisted hosts.
On a redirect, the tool forwarded those credentials to the new location without re-checking the allowlist, so an allowlisted URL that redirects elsewhere leaks the key.
An unauthenticated remote actor only needs to get a crafted prompt in front of the agent (directly or via injected content). Affected: strands-agents-tools before 0.8.8; AWS bulletin 2026-204-AWS.
How to check
- Run pip show strands-agents-tools and check the version.
- Check whether your agents use http_request with HTTP_REQUEST_TOKEN_CONFIG.
How to fix
- Upgrade to strands-agents-tools 0.8.8 or later, or migrate to the http_request tool in the Strands Agents SDK as AWS recommends.
- Rotate API keys configured in HTTP_REQUEST_TOKEN_CONFIG if agents processed untrusted input on older versions.
pip show strands-agents-tools | grep -i '^version' Sources
- highGHSA-3w55-933p-8pv5: Strands Agents' default session storage in /tmp could be hijacked with symlinks and read by other local users
- highCVE-2026-115419: Strands Agents A2A servers shared conversation history between different callers
- mediumCVE-2026-115415: A prompt can make the Strands Agents Tools environment tool return every environment variable unmasked, including cloud keys