🔍 CVE-2026-57495

0.0
CVSS Score
UNKNOWN
2026-07-20
2026-07-23 15:54
✅ 완료

🇰🇷 한글 설명

AgenticMail의 특정 패키지에서 외부 이메일 발신자를 검증하지 않고 권한이 높은 세션을 재개하는 취약점이 발견되었습니다. 공격자가 제어하는 이메일 내용을 통해 권한이 부여된 AI 에이전트에 간접 프롬프트 주입 공격을 수행하여 사용자의 권한으로 악성 명령을 실행할 수 있습니다.

💡 쉬운 설명

AI 비서가 이메일을 읽을 때 보낸 사람이 누구인지 확인하지 않아 발생하는 문제입니다. 나쁜 의도를 가진 이메일을 보내면 AI가 사용자의 허락 없이 위험한 명령을 대신 수행하게 만들 수 있습니다.

🇺🇸 원문 (English)

AgenticMail gives AI agents real email addresses and phone numbers. In @agenticmail/claudecode prior to version 0.2.39, @agenticmail/codex prior to version 0.1.33, @agenticmail/core prior to version 0.9.43, and @agenticmail/openclaw prior to version 0.5.71, two inbound-mail handlers act on a privileged effect without verifying that the sender is the operator, while a sibling handler in the same repo does. The higher-impact one: any external email routed to the bridge inbox causes the dispatcher to resume the operator's Claude Code session with `permissionMode: 'bypassPermissions'`, embedding the attacker-controlled `from`/`subject`/`preview` verbatim into the prompt the resumed agent reads — an indirect prompt injection into a fully-privileged agent (Bash/Write/Edit/WebFetch + the agenticmail MCP toolbelt) running as the operator's OAuth identity. The sibling operator-query email-reply hook gates the same untrusted-From provenance with `isOperatorReplySender(replyFrom, config.operatorEmail)` (fail-closed); the bridge-wake path — a strictly higher-privilege effect — has no equivalent. @agenticmail/claudecode 0.2.39, @agenticmail/codex 0.1.33, @agenticmail/core 0.9.43, and @agenticmail/openclaw 0.5.71 contain a fix.

📍 영향받는 시스템

@agenticmail/claudecode < 0.2.39, @agenticmail/codex < 0.1.33, @agenticmail/core < 0.9.43, @agenticmail/openclaw < 0.5.71

⚔️ 공격 벡터

공격자가 조작된 이메일을 발송하여 AI 에이전트의 세션을 권한 우회 모드로 재개시키고 프롬프트 주입 공격을 수행함

🛡️ 대응 방법

해당 패키지들을 각각 @agenticmail/claudecode 0.2.39, @agenticmail/codex 0.1.33, @agenticmail/core 0.9.43, @agenticmail/openclaw 0.5.71 이상 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 각 패키지의 버전이 취약점이 해결된 버전(claudecode 0.2.39 이상 등)인지 확인하십시오.

Shell / Script
npm list -g @agenticmail/claudecode @agenticmail/codex @agenticmail/core @agenticmail/openclaw

💻 영향받는 소프트웨어

Claude Code