What’s Vulnerable › Vulnerabilities

CVE-2026-115415: Secret masking bypass in the environment tool in Strands Agents Tools

Description

Improper neutralization of input used for LLM prompting in the environment tool in Strands Agents Tools before 0.8.6 might allow remote actors to obtain the agent host's environment variables in cleartext, including cloud credentials and API keys, via a crafted prompt that disables the tool's secret masking. To remediate this issue, users should upgrade to version 0.8.6 or later and rotate any credentials that were present in the environment of agents that loaded the environment tool.

Affected products

How to fix

Upgrade to a fixed version: AWS strands-agents-tools 0.8.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-115415 or the next vulnerability affects your stack