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

Published Oct 28, 2026
·
Updated

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 Software

1 affected component
pypi/strands-agents-tools<0.8.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Strands Agents Tools to a version that resolves this vulnerability.

    Fixed in 0.8.6
  2. Operational

    Rotate any credentials that were present in the environment of agents that loaded the environment tool.

Event History

Oct 28, 2026
CVE Published
via MITRE·07:33 PM
Data Sourced
via MITRE·07:33 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Agents using Strands Agents Tools before version 0.8.6 that loaded the environment tool are affected. The risk is highest where the agent host environment contains cloud credentials, API keys, or other secrets.

2

What does an attacker need to exploit this issue?

A remote actor needs to provide a crafted prompt that disables the environment tool's secret masking. The CVSS vector indicates no privileges are required, but user interaction is required.

3

What should be done after upgrading?

Upgrade to version 0.8.6 or later and rotate credentials that were present in the environment of agents that loaded the environment tool. This includes cloud credentials and API keys that may have been exposed in cleartext.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203