Description
Strands Agents is an open-source Python SDK for building and running AI agents. The strands-agents-tools package provides pre-built tools for use with the SDK, including the elasticsearch_memory tool for agent memory storage. We identified CVE-2026-15746, a server-side request forgery (SSRF) issue in the elasticsearch_memory tool. The tool exposed its connection parameters (es_url, cloud_id, api_key) as fields the large language model (LLM) could control through the tool schema. When a caller omitted the api_key parameter, the tool fell back to the operator's ELASTICSEARCH_API_KEY environment variable and sent it to whichever host the LLM specified. A crafted prompt could cause the tool to connect to a threat-actor-controlled server and disclose the operator's Elasticsearch API key in the Authorization header.



We recommend you upgrade to strands-agents-tools version 0.7.0 or later. As a precautionary measure, we recommend all operators rotate their ELASTICSEARCH_API_KEY, even if there is no indication the credential was exposed.
Published: 2026-07-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Strands Agents Tools includes an elasticsearch_memory tool that stores agent memory in Elasticsearch. The tool accepts connection parameters (es_url, cloud_id, api_key) from the LLM through its schema. If the api_key parameter is omitted, the tool falls back to the operator’s ELASTICSEARCH_API_KEY environment variable and transmits that key in the Authorization header to whatever host the LLM supplies. This server‑side request forgery permits a malicious LLM prompt to direct the tool to an attacker‑controlled server, resulting in credential disclosure of the Elasticsearch API key, which enables an attacker to access the target Elasticsearch cluster and any data it contains.

Affected Systems

Amazon Strands Agents Tools is the impacted product. Any installation using the elasticsearch_memory component in the strands‑agents‑tools Python SDK before version 0.7.0 is vulnerable, as the fix was introduced in that release. The vulnerability affects deployments where the tool’s connection parameters are exposed to the LLM and the ELASTICSEARCH_API_KEY environment variable is set.

Risk and Exploitability

CVSS score 6.9 indicates a moderate severity flaw. The EPSS score of less than 1% points to a low probability of exploitation at present, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an LLM that can control the tool’s schema and a functioning installation of the vulnerable tool with the ELASTICSEARCH_API_KEY environment variable set. By sending a malicious es_url in the prompt, an attacker can make the tool send the API key to a server they control, thereby obtaining the credentials.

Generated by OpenCVE AI on July 31, 2026 at 03:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to strands‑agents‑tools version 0.7.0 or later, which removes the SSRF behavior.
  • Rotate the ELASTICSEARCH_API_KEY to invalidate any leaked credentials.
  • Restrict or sanitize the tool schema so the tool enforces proper validation to prevent SSRF.

Generated by OpenCVE AI on July 31, 2026 at 03:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 15 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 15 Jul 2026 19:15:00 +0000


Wed, 15 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Description Strands Agents is an open-source Python SDK for building and running AI agents. The strands-agents-tools package provides pre-built tools for use with the SDK, including the elasticsearch_memory tool for agent memory storage. We identified CVE-2026-15746, a server-side request forgery (SSRF) issue in the elasticsearch_memory tool. The tool exposed its connection parameters (es_url, cloud_id, api_key) as fields the large language model (LLM) could control through the tool schema. When a caller omitted the api_key parameter, the tool fell back to the operator's ELASTICSEARCH_API_KEY environment variable and sent it to whichever host the LLM specified. A crafted prompt could cause the tool to connect to a threat-actor-controlled server and disclose the operator's Elasticsearch API key in the Authorization header. We recommend you upgrade to strands-agents-tools version 0.7.0 or later. As a precautionary measure, we recommend all operators rotate their ELASTICSEARCH_API_KEY, even if there is no indication the credential was exposed.
Title Credential disclosure in Strands Agents Tools elasticsearch_memory tool
First Time appeared Amazon
Amazon strands-agents-tools
Weaknesses CWE-918
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': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/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-07-15T18:54:31.562Z

Reserved: 2026-07-14T14:55:13.322Z

Link: CVE-2026-15746

cve-icon Vulnrichment

Updated: 2026-07-15T18:54:27.122Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:15:04Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)