🇰🇷 한글 설명
Strands Agents의 elasticsearch_memory 도구에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 공격자가 LLM을 조작하여 도구의 연결 파라미터를 제어할 수 있으며, 이를 통해 운영자의 ELASTICSEARCH_API_KEY 환경 변수를 공격자 서버로 유출시킬 수 있습니다.
💡 쉬운 설명
AI 에이전트가 사용하는 도구의 설정 오류로 인해, AI가 공격자가 지정한 가짜 주소로 접속을 시도하게 만들 수 있습니다. 이 과정에서 사용자의 중요한 비밀번호(API 키)가 공격자에게 그대로 전달될 위험이 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
strands-agents-tools 0.7.0 미만 버전
⚔️ 공격 벡터
조작된 프롬프트를 통해 LLM이 도구의 연결 대상(es_url)을 공격자 서버로 변경하도록 유도
🛡️ 대응 방법
strands-agents-tools를 0.7.0 이상으로 업그레이드하고 ELASTICSEARCH_API_KEY를 재발급(Rotation)하십시오.
🔧 검증 코드
출력된 버전이 0.7.0 미만이면 취약한 상태입니다.
pip show strands-agents-tools 2>/dev/null | grep Version