警戒
pydantic-ai-harness ANSI stripping can block the event loop
CVE-2026-133161
An AI agent tool's output cleaner can freeze the whole server.
- CVE
- CVE-2026-133161(新しいタブで開きます)
- スコア
- CVSS 7.5
- 初確認
7.5
対処法
Update pydantic-ai-harness to 0.70.0 or later. Until then, leave strip_ansi at its default, False. On Pydantic AI v1, the harness cannot be upgraded past 0.4.0, so upgrade to Pydantic AI v2 and pydantic-ai-harness 0.70.0, or turn strip_ansi off.
要約
With strip_ansi=True, pydantic-ai-harness's ToolOutputLimits can take quadratic time on crafted tool output, blocking the event loop for tens of seconds to minutes. Applications that enable this option and process tool output an attacker can influence are affected.
該当する条件
- strip_ansi=True set on ToolOutputLimits
- Tool output an attacker can influence (shell commands, file reads, fetched pages, MCP servers)
製品別のインシデント: pydantic-ai-harness
勧告を読む · github.com(新しいタブで開きます)
- セキュリティ勧告: github.com(新しいタブで開きます)
- CVE レコード: cve.org(新しいタブで開きます)