🔍 CVE-2026-107291

4.3
CVSS Score
MEDIUM
2026-10-08
2026-10-13 14:34
✅ 완료

🇰🇷 한글 설명

Pydantic AI 프레임워크에서 OpenTelemetry 설정 시 민감한 콘텐츠 포함을 비활성화하더라도 예외 메시지, 스택 트레이스, 모델 요청 파라미터 등을 통해 에이전트의 민감한 내용이 유출될 수 있는 취약점입니다. 이로 인해 텔레메트리 백엔드 사용자가 도구 피드백이나 런타임 지침과 같은 데이터에 접근할 수 있습니다. 해당 문제는 1.107.6 및 2.44.0 버전에서 수정되었습니다.

💡 쉬운 설명

AI 에이전트를 만들 때 보안을 위해 민감한 정보를 숨기도록 설정해도, 오류가 발생하면 그 내용이 기록 시스템에 그대로 노출될 수 있는 문제입니다. 따라서 로그를 보는 사람이 AI의 중요한 명령어나 내부 데이터를 몰래 볼 수 있습니다.

🇺🇸 원문 (English)

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 0.3.4 until 1.107.6 and 2.44.0, OpenTelemetry instrumentation configured with InstrumentationSettings(include_content=False) can still export sensitive agent content through exception.message and exception.stacktrace events, error status descriptions, and model_request_parameters containing instructions or the prompted_output_template. The exposed data is available to readers of the configured telemetry backend and can include tool feedback, provider error bodies, runtime instructions, and structured-output templates even though message attributes are redacted. This issue does not grant new access to agent data, and deployments that do not use include_content=False are not affected by the setting bypass. This issue is fixed in versions 1.107.6 and 2.44.0.

📍 영향받는 시스템

Pydantic AI versions 0.3.4 to 1.107.5 and 2.44.0 (excluding fixed versions)

⚔️ 공격 벡터

설정된 텔레메트리 백엔드(로그 수집 서버)에 접근 권한이 있는 사용자가 노출된 오류 로그를 통해 데이터를 탈취

🛡️ 대응 방법

Pydantic AI를 버전 1.107.6 또는 2.44.0 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 1.107.6 미만이거나 2.44.0 미만인 경우 취약한 상태입니다.

Shell / Script
pip show pydantic-ai | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python