TJEH / CVE reading sheet
CVE-2026-133161
The available vulnerability information, collected from NVD and presented by TJEH.
View the official NVD record (new tab)Highest published CVSS score
7.5 / 10
Scores may come from the assigning authority or NIST and can change.
- Published
- 19 Nov 2026, 16:17
- NVD update
- 23 Nov 2026, 16:41
- Last collected by TJEH
- 23 Nov 2026, 18:47
Times shown in Paris time.
In plain language
Raw watch record
This record has not yet been explained by TJEH. It shows the source information as published.
What the source reports
Source description as published by NVD
### Summary ui With `strip_ansi=True`, Pydantic AI Harness's `ToolOutputLimits` capability removes ANSI escape sequences from tool output with a pattern that takes time quadratic in the length of a line. A tool result of a few hundred kilobytes, crafted with many unterminated escape sequences, can occupy the event loop for tens of seconds to minutes, delaying every other request and agent run in the process. ### Details This affects applications that set `strip_ansi=True` on `ToolOutputLimits` (named `OverflowingToolOutput` before 0.13.0) and run tools whose output an attacker can influence, such as shell commands, file reads, fetched pages or MCP servers. Stripping runs on the event loop before the capability reduces the output, so its own size limits do not bound it. The assumed attacker can place text in content a tool returns. ### Mitigation Upgrade `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. Upgrade to Pydantic AI v2 and `pydantic-ai-harness` 0.70.0, or leave `strip_ansi` off.
Fix and what to do
No verified fix here yet
Check whether your product and version are affected, then follow the publisher’s advisory to update. A published fix does not mean it has been installed on your systems.
Published CVSS metrics
CVSS 3.1 · 7.5/10
7cec5f2f-3032-4006-8740-31f605ffab5f
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Reported weaknesses : CWE-1333