CVE-2026-15746
JSON

6.9medium

Credential disclosure in Strands Agents Tools elasticsearch_memory tool

Severity
6.9medium CVSS:4.0 by AMZN
Exploit likelihood
0.42% (higher than 28% of CVEs)
Published
Last changed
Assigned by
AMZN

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

Product or packageVersionsReported by
Amazon strands-agents-toolsbefore 0.7.0CVE List

All scores

AMZN6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
AMZN6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Strands Agents es un SDK de Python de código abierto para construir y ejecutar agentes de IA. El paquete strands-agents-tools proporciona herramientas preconstruidas para usar con el SDK, incluida la herramienta elasticsearch_memory para el almacenamiento de memoria del agente. Identificamos CVE-2026-15746, un problema de falsificación de petición del lado del servidor (SSRF) en la herramienta elasticsearch_memory. La herramienta expuso sus parámetros de conexión (es_url, cloud_id, API_key) como campos que el modelo de lenguaje grande (LLM) podía controlar a través del esquema de la herramienta. Cuando un llamador omitía el parámetro API_key, la herramienta recurría a la variable de entorno ELASTICSEARCH_API_KEY del operador y la enviaba a cualquier host que el LLM especificara. Un prompt manipulado podría hacer que la herramienta se conectara a un servidor controlado por un actor de amenaza y revelara la clave API de Elasticsearch del operador en el encabezado de autorización. Recomendamos que actualice a la versión 0.7.0 o posterior de strands-agents-tools. Como medida de precaución, recomendamos a todos los operadores que roten su ELASTICSEARCH_API_KEY, incluso si no hay indicios de que la credencial haya sido expuesta.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-15746 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-15746 changed 2026-10-24Public domain