MediumVulnerability
GHSA-v36g-jcw9-x7cw: Pydantic AI: Excessive resource use when local web fetching converts nested HTML
- Identifiers
- CVE-2026-107287GHSA-v36g-jcw9-x7cw
- Published
- Record updated
- Affected
- pydantic-ai-slim >= 2.0.0b1, < 2.52.0, fixed in 2.52.0, released September 29, 2026, 8 days before disclosure
- pydantic-ai-slim >= 1.77.0, < 1.107.7, fixed in 1.107.7, released September 29, 2026, 8 days before disclosure
- pydantic-ai >= 2.0.0b1, < 2.52.0, fixed in 2.52.0, released September 29, 2026, 8 days before disclosure
- and 1 more
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
Applications using Pydantic AI's local web-fetch tool can suffer excessive CPU and memory use when converting attacker-controlled HTML. Nested block elements make the HTML-to-Markdown conversion reprocess accumulated text at each level, greatly expanding the intermediate output. Provider-native web fetching is not affected.
Mitigation
Upgrade to a patched release of `pydantic-ai` or `pydantic-ai-slim`. If you cannot upgrade yet, avoid using local web fetching for attacker-controlled HTML.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- pydantic-aiPyPILLM dependency since 2024-05-20 · 4 tracked dependents
- pydantic-ai-slimPyPILLM dependency since 2024-11-25 · 7 tracked dependents
Related items
- HighCVE-2026-123356: GROBID unauthenticated thread exhaustion through /api/modelTraining endpointSimilar attack · NVD/CVE Database
- MediumCVE-2026-83494: training-operator immutability check bypass in PyTorchJob ValidateUpdate webhookSimilar attack · NVD/CVE Database
- CriticalCVE-2026-48705: MONAI PydicomReader affine computation accepts non-finite DICOM valuesSimilar attack · NVD/CVE Database
- LowCloakFEM: Agentic FEM Code Generation for Red-Teaming Computational Resource ExhaustionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- MediumThe Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesSimilar attack · Google Threat Intelligence