← All updates

Security / News explained

Strands warns about API keys carried across redirects

AWS’s November disclosure explains a redirect-header issue fixed in Strands Agents Tools 0.8.8. Rotation and migration remain distinct parts of the response.

By Zyel · Published · 4 min read

AWS’s November 30, 2026 advisory for CVE-2026-137930 concerns an API key following an HTTP redirect beyond its intended host. The affected component is the http_request tool in Strands Agents Tools before version 0.8.8. Under the documented conditions, a key configured for an allowlisted host could be forwarded to a different host in the X-API-Key header. AWS describes the impact as disclosure of the key. [1]

The disclosure date and the patch date are different. The project’s 0.8.8 release was published on September 4, 2026, and its notes identify a correction to nonstandard headers on cross-host redirects. The November security advisory explains that earlier correction’s significance. It does not mean the fixed release first became available this week. [4]

The first destination was not the whole journey

The project advisory narrows the affected case to keys configured through HTTP_REQUEST_TOKEN_CONFIG and sent with the api_key authentication type. The actor described in the advisory can place content that an agent reads and knows of a redirect from an allowlisted host to a host under that actor’s control. Those conditions matter: this is not a claim that every request made by every Strands agent leaks credentials. [2]

Our interpretation is that the important boundary is the credential’s destination throughout the request, including any redirect. Approving the first hostname answers where the request starts. It does not, by itself, answer where every header will eventually arrive. A familiar hostname should not become a forwarding address for its credentials.

Consider a fictional assistant that uses a key to consult an approved supplier API. If a response sends the client elsewhere, the question is whether that key remains attached to the next request. This illustrates the trust boundary; it describes no real supplier, deployment or incident. The advisory’s particular authentication configuration remains necessary when assessing whether this finding applies.

The maintained destination is a migration, not just a version bump

The Amazon CNA record confirms the affected boundary as versions below 0.8.8 and identifies 0.8.8 as addressing the issue. It also directs users toward the http_request tool in the Strands Agents SDK. That makes the release number useful for identifying this fix, without turning an old package into a long-term maintenance plan. [3]

AWS says the community http_request tool was deprecated in 0.8.9 and the Strands Agents Tools package in 0.9.0; the package will receive no further updates. The project’s migration guide distinguishes raw API requests from fetching web pages. It maps those intents to SDK tools and moves authentication and endpoint scoping into the supplied HTTP client. [1] [5]

For an application owner, that is a behavioral change worth reviewing rather than a search-and-replace exercise. Our reading is that an integration needs to preserve which destinations may receive a credential, as well as what useful information the tool returns. A successful import or a completed build would not establish those runtime properties on its own.

Old keys and corrected request handling are separate concerns

The advisory recommends rotating keys configured through HTTP_REQUEST_TOKEN_CONFIG on earlier versions and ensuring that forks or derivative implementations incorporate the correction. Its temporary workaround uses an authentication type that sends credentials in Authorization, which the tool strips on cross-host redirects. That is the published alternative, not a suggestion to invent a new authentication scheme. [2]

The receiving API still has to support the chosen authentication type. Merely renaming a header is not evidence that an integration remains correct. Likewise, changing request handling does not withdraw a key that was already issued. The practical implication is to distinguish the corrected software path from the credential lifecycle and from any review of earlier use.

The sources establish a disclosure condition, not a confirmed compromise in a reader’s environment. Nor does the advisory turn that key disclosure into a claim of direct code execution in the agent. What another system would permit a stolen key to do depends on that key’s actual authority. That downstream question needs its own evidence.

The useful outcome is a precise account of the package and version in use, the authentication path that can reach the network, and the status of credentials associated with earlier behavior. A credential’s intended audience still matters after the first response.

Sources + further reading

Source dates describe the original material. Publication above is the date this Zyel article went live.

  1. AWS security bulletin 2026-204-AWSAmazon Web Services · Checked Dec 1, 2026
  2. Strands Agents Tools advisory GHSA-7856-jqx5-q7fvStrands Agents project · Checked Dec 1, 2026
  3. Amazon CNA record for CVE-2026-137930Amazon / CVE Program · Checked Dec 1, 2026
  4. Strands Agents Tools v0.8.8 release notesStrands Agents project · Checked Dec 1, 2026
  5. Migrate from the community tools packageStrands Agents project · Checked Dec 1, 2026

Reader discussion

What would you ask next?

Questions, useful corrections and thoughtful disagreement are welcome. Comments are reviewed before they appear.

No reader comments yet.

10–2,000 characters. Plain text. Leave out passwords, private project data and personal contact details. A blank display name appears as Anonymous.

Complete the CAPTCHA before sending. Verification runs on your device.