CVE-2026-137930

Strands Agents Tools forwards a host-bound API key across redirects

AWS · strands-agents-tools

First documented disclosure · Review checkpoint

Summary

The HTTP tool can send X-API-Key credentials to a redirect host outside the configured allowlist.

Severity and exploitation evidence

Medium · 5.9/10 · CVSS 4.0. Severity source.

Exploitation not established: The reviewed sources establish a reported weakness and maintainer correction, not malicious exploitation or identified victims. No target software, package, model or proof of concept was executed during this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The requests library stripped Authorization on cross-host redirects but retained custom credential headers supplied by HTTP_REQUEST_TOKEN_CONFIG with api_key authentication.

Conditions required

An attacker can place content that the agent reads and knows an allowlisted-host redirect to a controlled destination. The request must use the affected custom-header auth type.

Potential impact

Disclosure of the configured API key. Further compromise is not established by the advisory.

Affected versions and configurations

strands-agents-tools versions before 0.8.8 using the affected http_request configuration.

Fix and mitigation status

Public PR595 merged September 2; stable 0.8.8 on September 4 includes the cross-host header correction. The tool was deprecated in 0.8.9 and the package in 0.9.0; AWS says the package will receive no further updates.

Practical next steps

Migrate to the Strands Agents SDK HTTP tool, incorporate the correction in forks and rotate keys used through the vulnerable configuration. AWS’s interim workaround uses an auth type carried by Authorization, which is stripped across hosts.

Operating lesson

A host-bound credential must be removed whenever a redirect changes the destination host.

Evidence and limits

The September 2 public PR explicitly describes credential leakage and is the disclosure date; November 30 is the later AWS/CNA advisory. AWS supplies CVSS 4.0 Medium 5.9 and CVSS 3.1 Medium 6.5; scores are not averaged. Issuing CNA publication was 2026-11-30, distinct from the earliest verified public disclosure used here. Severity is AMZN CNA CVSS 4.0 Medium 5.9. Static review only; upstream tests were not repeated.

Sources