---
id: CVE-2026-115415
title: Secret masking bypass in the environment tool in Strands Agents Tools
summary: >-
  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…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-1427
vendor: amazon
product: strands-agents-tools
affected:
  - strands-agents-tools >= 0.1.0 < 0.8.6
published: '2026-10-28'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T19:37:36.733Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115415'
references:
  - url: 'https://github.com/strands-agents/tools/releases#release-v0.8.6'
  - url: 'https://aws.amazon.com/security/security-bulletins/2026-154-aws/'
  - url: >-
      https://github.com/strands-agents/tools/security/advisories/GHSA-qjx4-hg6g-2f34
tags:
  - cve.org
epss: 0.00343
epssPercentile: 0.27763
ingestedAt: '2026-10-29T15:37:07.558Z'
---

## Overview

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

- `strands-agents-tools >= 0.1.0 < 0.8.6`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
