Skip to content
Heist/ feed
Back to feed
Medium

Secret masking bypass in the environment tool in Strands Agents Tools

Type: advisorySources: Official CVE List

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.

Products
strands-agents-tools
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-115415
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 06:56 UTC · Revision 1

Source evidence

Secret masking bypass in the environment tool in Strands Agents Tools

core-cve · Original source

Published 28 Oct 2026, 19:33 UTC

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.

cve:CVE-2026-115415

strands-agents-tools

Fixed versions: Not specified

Complete source record
{
  "id": "7673e5c29b09a84448590458498ff9b9c6f53ad117b0ff2238265effb5c54e2c",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-115415",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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 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.",
    "evidence": "cve:CVE-2026-115415",
    "products": [
      {
        "name": {
          "value": "strands-agents-tools",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-115415",
      "aliases": [
        "CVE-2026-115415"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "Safety": "NOT_DEFINED",
            "version": "4.0",
            "Recovery": "NOT_DEFINED",
            "baseScore": 5.9,
            "Automatable": "NOT_DEFINED",
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "exploitMaturity": "NOT_DEFINED",
            "providerUrgency": "NOT_DEFINED",
            "userInteraction": "ACTIVE",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        },
        {
          "format": "CVSS",
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 6.5,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "REQUIRED",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "affected": [
        {
          "vendor": "amazon",
          "product": "strands-agents-tools",
          "versions": [
            {
              "status": "affected",
              "version": "0.1.0",
              "lessThan": "0.8.6",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-28T19:37:36.733Z",
      "provider": "cve",
      "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"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "ff89ba41-3aa1-4d27-914a-91399e9639e5",
          "shortName": "AMZN",
          "dateUpdated": "2026-10-28T19:37:36.733Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-115415",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 480640,
  "published_at": "2026-10-28T19:33:10.542+00:00"
}