CVE-2026-15746: Credential disclosure in Strands Agents Tools elasticsearch_memory tool
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 elasticsearchmemory tool for agent memory storage. We identified CVE-2026-15746, a server-side request forgery (SSRF) issue in the elasticsearchmemory tool. The tool exposed its connection parameters (esurl, cloudid, apikey) as fields the large language model (LLM) could control through the tool schema. When a caller omitted the apikey parameter, the tool fell back to the operator's ELASTICSEARCHAPIKEY 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 ELASTICSEARCHAPIKEY, even if there is no indication the credential was exposed.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
strands-agents-toolsto a version that resolves this vulnerability.Fixed in 0.7.0 - Operational
Rotate the ELASTICSEARCH_API_KEY credential for Strands Agents Tools (including any Elasticsearch API keys used by the elasticsearch_memory tool), even if there is no indication it was exposed.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-15746?
CVE-2026-15746 has a medium severity rating of 6.5.
What type of vulnerability is CVE-2026-15746?
CVE-2026-15746 is identified as a server-side request forgery (SSRF) vulnerability.
How can I mitigate the risk associated with CVE-2026-15746?
To mitigate CVE-2026-15746, ensure that the elasticsearch_memory tool is properly configured to restrict incoming requests.
Which software is affected by CVE-2026-15746?
CVE-2026-15746 affects the strands-agents-tools package available on PyPI.
When was CVE-2026-15746 published?
CVE-2026-15746 was published on July 15, 2026.