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.
Published: 2026-10-28
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: Unauthorized disclosure of environment variables
Action: Patch & Rotate
AI Analysis

Impact

The vulnerability in the environment tool of Strands Agents Tools version 0.8.6 and earlier arises from improper neutralization of input used in LLM prompting. A crafted prompt can de‑activate the tool’s secret‑masking feature, causing the tool to reveal the agent host’s environment variables to the LLM. Attackers with remote access to the agent can therefore obtain sensitive values such as cloud credentials and API keys in cleartext, potentially enabling full account compromise.

Affected Systems

Affected systems are Amazon Strands Agents Tools deployments that load the environment tool. Any version of the tool before 0.8.6 is vulnerable, especially if the environment tool is enabled on agents running on cloud or local hosts. The vulnerability exists regardless of the underlying operating system; it is specific to the tool’s handling of prompt input.

Risk and Exploitability

The severity is moderate, with a CVSS score of 5.9 and no EPSS score available, indicating that while the flaw is not immediately exploitable on a massive scale, it poses a significant confidentiality risk. The vulnerability requires that the attacker be able to send a prompt to the LLM through the agent, so it is inferred that the attack vector is remote via the LLM interface. The flaw has not yet been reported in the CISA KEV catalog, but exposed credentials can lead to severe downstream compromises.

Generated by OpenCVE AI on October 28, 2026 at 20:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Strands Agents Tools version 0.8.6 or later.
  • Rotate any credentials that were present in the environment of agents that loaded the environment tool before the upgrade.
  • Verify that secret masking is active by testing a prompt that would normally trigger masking; confirm that hidden values are not disclosed.
  • If the tool is not required, disable it or exclude the environment tool from future agent deployments.

Generated by OpenCVE AI on October 28, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title Secret masking bypass in the environment tool in Strands Agents Tools
First Time appeared Amazon
Amazon strands-agents-tools
Weaknesses CWE-1427
CPEs cpe:2.3:a:amazon:strands-agents-tools:*:*:*:*:*:*:*:*
Vendors & Products Amazon
Amazon strands-agents-tools
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 5.9, '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'}


Subscriptions

Amazon Strands-agents-tools
cve-icon MITRE

Status: PUBLISHED

Assigner: AMZN

Published:

Updated: 2026-10-28T19:37:36.733Z

Reserved: 2026-10-22T13:11:05.160Z

Link: CVE-2026-115415

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T20:17:20.793

Modified: 2026-10-28T20:17:20.793

Link: CVE-2026-115415

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T20:30:07Z

Weaknesses
  • CWE-1427

    Improper Neutralization of Input Used for LLM Prompting