🔍 CVE-2026-46678

6.8
CVSS Score
MEDIUM
2026-07-29
2026-08-04 13:52
✅ 완료

🇰🇷 한글 설명

Pydantic AI 프레임워크의 특정 버전에서 IPv6 전환 형식을 사용하여 클라우드 메타데이터 차단 목록을 우회할 수 있는 취약점이 발견되었습니다. 공격자가 조작된 URL을 통해 내부 IP에 접근하면 클라우드 IAM 단기 자격 증명이 노출될 수 있습니다. 이 문제는 1.99.0 버전에서 해결되었습니다.

💡 쉬운 설명

인공지능 앱이 내부 보안 규칙을 피해 클라우드 관리자 권한 정보를 몰래 가져갈 수 있는 보안 구멍이 발견되었습니다. 공격자가 특수한 주소 형식을 사용하면 시스템이 이를 정상적인 주소로 착각하여 중요한 정보를 넘겨줄 수 있습니다.

🇺🇸 원문 (English)

Pydantic AI is a Python agent framework for building Generative AI applications. In versions 1.56.0 through 1.98.0, when an application opts a URL into force_download='allow-local' (disabling the default block on private/internal IPs), the cloud-metadata blocklist could be bypassed by encoding the metadata IP in an IPv6 transition form (IPv4-mapped IPv6, 6to4, or NAT64), exposing cloud IAM short-term credentials on dual-stack or translated networks. This is an incomplete fix of GHSA-2jrp-274c-jhv3 / CVE-2026-25580, whose remediation did not hold for IPv6-encoded forms of the metadata IPs. An application is affected only if it explicitly opts a FileUrl (ImageUrl, AudioUrl, VideoUrl, DocumentUrl) into force_download='allow-local' on a URL influenced by untrusted input; it is not affected when using bundled integrations to ingest user input (Agent.to_web / clai web, VercelAIAdapter, AGUIAdapter / Agent.to_ag_ui), since they do not propagate force_download from external data, nor when downloading only from developer-controlled URLs. This issue has been fixed in version 1.99.0.

📍 영향받는 시스템

Pydantic AI versions 1.56.0 through 1.98.0

⚔️ 공격 벡터

IPv4-mapped IPv6, 6to4, 또는 NAT64 형식을 사용하여 클라우드 메타데이터 IP 주소에 접근하는 방식

🛡️ 대응 방법

Pydantic AI를 최신 버전인 1.99.0 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 1.99.0 미만(1.56.0 ~ 1.98.0 사이)이면 취약한 상태입니다.

Shell / Script
pip show pydantic-ai | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python