CVE-2026-15746 Credential disclosure in Strands Agents Tools elasticsearch_memory tool
Attackers can exploit SSRF in the elasticsearch_memory tool to disclose operator API keys by controlling connection parameters via LLM prompts.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-15746?
CVE-2026-15746 is a medium-severity server-side request forgery vulnerability in Amazon strands-agents-tools, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-918
Which versions are affected by CVE-2026-15746?
How do I fix CVE-2026-15746?
No fix has been published for CVE-2026-15746 yet. Limit exposure of the affected software until one is available.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-15746 being exploited?
There is no known exploitation of CVE-2026-15746 in the wild and no public exploit code.
Sources
Also known as GHSA-ppcf-fpr3-x46v.