CVE-2026-115415

Secret masking bypass in the environment tool in Strands Agents Tools

Published Oct 28, 2026 CVSS 4.0 · 5.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-1427

    Improper Neutralization of Input Used for LLM Prompting

Sources

Status
PUBLISHED
Assigner
AMZN
Published
Updated
Nov 5, 2026, 4:49 PM
Reserved
Oct 22, 2026, 1:11 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 8:17 PM
Modified
Nov 5, 2026, 5:17 PM