Highlights
SSRF: 7 prior fixes. Scrutinize any change in this area.
pydantic_ai_slim/pydantic_ai/_ssrf.py: most-fixed (5 issues). Treat as high-risk during review.
9 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
SSRF: Attackers bypassed initial IP/domain blocklists using IPv6-wrapped IPv4 transition formats (Teredo, ISATAP, NAT64, 6to4) and trailing FQDN dots to access cloud metadata endpoints and local networks.
SSRF: Untrusted client messages could specify malicious cloud storage schemes (s3://, gs://) or force local downloads via 'allow-local' arguments, causing SSRF and unauthorized credential exposure.
Information Disclosure: User prompts, completion contents, and tool arguments were automatically forwarded to OpenTelemetry endpoints even when 'include_content=False' was explicitly configured.