Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPlant prompt injection in agent-processed content
-
DeliveryAgent invokes environment tool with action=list, masked=false
-
ExploitSecret masking bypassed, variables returned in cleartext
-
ExecutionModel relays values via another outbound-capable tool
-
ImpactCloud credentials and API keys disclosed to attacker
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires all of the following concrete conditions, taken from the vendor advisory: (1) the agent must have the Strands Agents Tools 'environment' tool loaded (versions >= 0.1.0 and < 0.8.6); (2) the agent must process attacker-controlled content - a web page, file, or prior tool output - into which the actor has placed instructions (this is the UI:A / indirect prompt-injection requirement); (3) the model must be induced to call the tool with action="list" (or "get") and masked=false, which was possible because the masked flag was exposed in the tool's input schema and list/get actions ran without an operator consent prompt; and (4) secrets must actually be present in the agent host's process environment (e.g., AWS keys, API tokens) for there to be anything to leak, with exfiltration typically needing a second loaded tool that has outbound network access. Limiting factors: no effect on deployments that never load the environment tool or that run agents without long-lived credentials in the environment; exploitation is gated on the agent ingesting attacker content rather than on direct network access to a service. |
| Impact | This is a genuine but conditional-risk information-disclosure flaw, not a drop-everything emergency. The CVSS 4.0 base score is 5.9 (medium), and the vector tells a consistent story: AV:N and PR:N mean a remote, unauthenticated actor can reach the condition, but UI:A (the agent must actively process the attacker's content) and AT:P (a specific attack requirement must hold) materially constrain exploitation - this is indirect/stored prompt injection, not a direct network exploit. VC:H with VI:N/VA:N correctly reflects a pure confidentiality loss (full disclosure of host environment variables, including AWS keys and API tokens) with no integrity or availability impact and no vendor-asserted scope change (SC/SI/SA:N). Exploitation signals are mostly absent: the input shows no CISA KEV entry, no EPSS probability, and no PoC/exploit reference - the references are the AWS bulletin, the GitHub release, and the GHSA advisory, none of which is working exploit code. The vuln.today decision label is 'this_month', not act_now/emergency, which aligns with a medium score and the lack of confirmed active exploitation. The main driver that could elevate real-world impact is the nature of the leaked data: harvested long-lived cloud credentials enable lateral movement far beyond the agent host. Net: treat as a real priority for anyone running the affected tool with credentials in the process environment, but it is not a mass-exploitable remote code execution. Missing data to note explicitly: EPSS score is not provided, so quantitative exploitation likelihood cannot be stated, and KEV/PoC status is 'none in input' rather than an affirmative 'not exploitable'. |
| Exploit ScenarioDerived | An attacker plants crafted instructions in content the agent will ingest - a web page, a document, or prior tool output - directing the model to call the environment tool with action="list" and masked=false. Because the masked flag was exposed in the tool's input schema and list/get required no operator consent, the tool returns every environment variable unmasked (AWS access keys, model-provider API keys, source-control tokens, DB connection strings), which the model can then relay to the attacker through another loaded tool with outbound access. No public exploit was identified at time of analysis; exploitation requires the agent to actively process the attacker-controlled content (UI:A) and to have the environment tool loaded. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 28, 2026
Cleartext exposure of agent-host environment variables in Strands Agents Tools (pip package strands-agents-tools, versions 0.1.0 through 0.8.5) lets an attacker who can place instructions in content the agent ingests - a web page, a file, or earlier tool output - drive the loaded 'environment' tool to dump every environment variable without masking. The masking flag shipped inside the tool's model-facing input schema and the list/get actions ran with no operator consent prompt, so a crafted prompt requesting action="list" with masked=false returns AWS access keys, model-provider API keys, source-control tokens, and database connection strings, which the model can then relay through another loaded tool. The vendor rates this CVSS 5.9 (our assessment: CVSS:3.1 5.9, AV:N/AC:H/PR:N/UI:R/C:H/I:N/A:N) with a this_month priority; no public exploit code and no CISA KEV entry were identified at time of analysis, and real impact depends on whether the environment tool is loaded and long-lived secrets are actually present in the agent process environment.
RemediationAI
Upgrade strands-agents-tools to version 0.8.6 or later, which the vendor identifies as the fixed release and which also makes masking an operator-only setting and deprecates the environment tool (release notes: https://github.com/strands-agents/tools/releases#release-v0.8.6, advisory: https://github.com/strands-agents/tools/security/advisories/GHSA-qjx4-hg6g-2f34, AWS bulletin: https://aws.amazon.com/security/security-bulletins/2026-154-aws/); because secrets may already have been exposed to model output, rotate every credential that was present in the environment of any agent that loaded the environment tool. If upgrading cannot happen immediately, the vendor's stated workarounds are to remove the environment tool from affected agents - the trade-off being loss of that tool's host-inspection capability - to avoid running agents with long-lived cloud credentials or API keys in the process environment (use short-lived, scoped credentials instead, accepting added credential-broker complexity), and to restrict outbound network access from the agent host to trusted endpoints only, which limits but does not eliminate relay through a permitted tool. Ensure any forked or derivative code incorporates the 0.8.6 changes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Strands Agents Tools is a companion package of pre-built tools for the Strands Agents SDK, a framework in which a large language model selects and invokes tools from JSON input schemas. The 'environment' tool reads the host process environment so the agent can inspect variables; by design it masks values whose names resemble secrets (containing KEY, TOKEN, SECRET, or PASSWORD). The root causes map to CWE-1427 (improper neutralization of input used for LLM prompting) combined with CWE-522 (insufficiently protected credentials): the 'masked' parameter was declared in the tool's input schema, making it a model-controllable argument, and the 'list' and 'get' actions required no operator confirmation (only 'set' and 'delete' did). An indirect prompt injection - attacker text embedded in a web page, file, or prior tool output the agent processes - is therefore sufficient to make the model call the tool with masking disabled. Exfiltration of the returned values typically requires a second loaded tool with outbound network access, and the trigger is specifically an injected instruction path rather than direct network access to a listening service; version 0.8.6 removes model control over masking, leaves masking solely to the operator, and deprecates the environment tool entirely.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Remote unauthenticated injection (AV:N/PR:N) but the agent must ingest attacker content and have the tool loaded (UI:R, AC:H); full confidentiality loss of host secrets (C:H), no integrity/availability impact.
Primary rating from Vendor (ff89ba41-3aa1-4d27-914a-91399e9639e5).
CVSS VectorVendor: ff89ba41-3aa1-4d27-914a-91399e9639e5
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-112407
NVD
CVE.org
GitHub
Exploit-DB