🔍 CVE-2026-47119

6.1
CVSS Score
MEDIUM
2026-05-27
2026-10-29 21:17
✅ 완료

🇰🇷 한글 설명

Agent Zero 1.15 이전 버전에는 image_get API 엔드포인트가 SVG 파일을 Content-Security-Policy, X-Content-Type-Options, Content-Disposition 헤더 없이 제공하는 저장형 XSS 취약점이 존재합니다. 공격자는 악성 스크립트가 포함된 SVG 파일을 에이전트 프로세스가 읽을 수 있는 경로에 배치한 뒤 인증된 사용자를 해당 엔드포인트로 유도하여 스크립트를 실행시킬 수 있습니다.

💡 쉬운 설명

Agent Zero에서 이미지 주소를 열 때 악성 코드가 숨은 그림 파일이 그대로 실행될 수 있는 문제입니다. 로그인한 사용자가 이 링크를 클릭하면 공격자가 사용자의 인증 정보를 빼가거나 대신 작업을 수행할 수 있습니다.

🇺🇸 원문 (English)

Agent Zero before version 1.15 contains a stored cross-site scripting vulnerability that allows attackers to execute arbitrary JavaScript in the application origin by serving SVG files through the image_get API endpoint without Content-Security-Policy, X-Content-Type-Options, or Content-Disposition headers. Attackers can place a crafted SVG file containing script tags in any path readable by the agent-zero process and lure an authenticated user to the image_get endpoint, causing the browser to execute the malicious script, steal the csrf_token cookie, and perform unauthorized API calls on behalf of the victim.

📍 영향받는 시스템

Agent Zero 1.15 미만 버전

⚔️ 공격 벡터

악성 스크립트가 담긴 SVG 파일을 배치한 후 인증된 사용자가 image_get 엔드포인트에 접근하도록 유도(피싱 링크 등)하여 csrf_token 쿠키 탈취 및 비인가 API 호출 수행

🛡️ 대응 방법

Agent Zero를 1.15 이상 버전으로 업데이트하고, 업데이트 전까지 image_get 엔드포인트 접근을 제한하거나 SVG 응답에 보안 헤더를 추가

🔧 검증 코드

출력된 버전이 1.15 미만이면 취약한 상태이므로 1.15 이상으로 업그레이드가 필요하며, 명령 결과가 없다면 설치 방식(pip, Docker 등)을 직접 확인해야 합니다.

Shell / Script
pip show agent-zero 2>/dev/null | grep -i version || docker inspect $(docker ps -q --filter ancestor=agent0ai/agent-zero) 2>/dev/null | grep -i version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

💻 영향받는 소프트웨어

Oracle Java SE