Skip to content
AWS Security·Indexed by this site · Originally published· Event →· Its place in the scan record →SelectedAttention38

AWS reports that in Strands Agents Tools before 0.8.8, api_key secrets can leak via redirects

AI summary

AWS published a security advisory reporting an API key leak vulnerability in the Strands Agents SDK toolkit Strands Agents Tools (CVE-2026-137930, GHSA-7856-jqx5-q7fv); versions before 0.8.8 are affected, and the issue is fixed in 0.8.8. The vulnerability is in the http_request tool: when an API key bound to an allowlisted host via HTTP_REQUEST_TOKEN_CONFIG is sent with the api_key authentication type, if that host redirects the request to another host, the tool forwards the key in the X-API-Key header; an attacker able to feed the agent content it reads and who knows of a redirect on an allowlisted host pointing to a host they control may thereby obtain the key, and the impact is limited to key leakage. If immediate upgrade is not possible, use an authentication type that sends the key in the Authorization header, which is stripped on cross-host redirects.

Why it was selected

The original source gives the attack trigger conditions and a temporary workaround, which teams that configured API keys with this tool can use to check versions and rotate keys.

Read originalaws.amazon.com