Credential disclosure in Strands Agents Tools elasticsearch_memory tool
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.
Affected products
1- Range: >=0.7.0
Patches
Vulnerability mechanics
References
3- github.com/strands-agents/tools/security/advisories/GHSA-ppcf-fpr3-x46vmitrerelease-notespatch
- aws.amazon.com/security/security-bulletins/2026-056-aws/mitrevendor-advisory
- pypi.org/project/strands-agents-tools/0.7.0/mitrerelease-notes
News mentions
0No linked articles in our index yet.