GHSA-qjx4-hg6g-2f34: 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.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release 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 OSV·07:33 PM
Data Sourced
via OSV·07:33 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Agents using Strands Agents Tools versions before 0.8.6 are exposed if they loaded the environment tool. The risk includes any secrets available in the agent host environment, such as cloud credentials and API keys.

2

What does an attacker need to exploit this issue?

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

3

What should be done if an affected agent may have processed malicious prompts?

Upgrade to version 0.8.6 or later, then rotate credentials that were present in the environment of agents that loaded the environment tool. Treat exposed environment variables as potentially disclosed 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