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.
{
"cwe_ids": [
"CWE-918"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15746.json",
"cna_assigner": "AMZN"
}