Improper Removal of Sensitive Information Before Storage or Transfer Affecting strands-agents-tools package, versions [,0.8.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.85% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-STRANDSAGENTSTOOLS-23188829
  • published1 Dec 2026
  • disclosed30 Nov 2026
  • creditUnknown

Introduced: 30 Nov 2026

NewCVE-2026-137930  (opens in a new tab)
CWE-212  (opens in a new tab)

How to fix?

Upgrade strands-agents-tools to version 0.8.8 or higher.

Overview

strands-agents-tools is an A collection of specialized tools for Strands Agents

Affected versions of this package are vulnerable to Improper Removal of Sensitive Information Before Storage or Transfer via the redirect handling of the http_request tool, which forwards API keys configured through HTTP_REQUEST_TOKEN_CONFIG to hosts outside the allowlist when an allowlisted host redirects the request to a different host. An attacker who can place content an agent reads, and who knows of a redirect on an allowlisted host that sends clients to a host they control, can obtain an API key by triggering such a redirect. The issue specifically affects keys sent in the X-API-Key header with the api_key auth type, and is limited to key disclosure.

Workaround

Bind API keys with an auth type that sends them in the Authorization header instead of the api_key auth type, as the Authorization header is stripped on cross-host redirects.

CVSS Base Scores

version 4.0
version 3.1