CVE-2026-107287
Last modified
CVE-2026-107287 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.7 and 2.52.0, the local web_fetch_tool and the WebFetch local fallback can consume excessive CPU and memory during HTML-to-Markdown conversion of attacker-controlled HTML containing deeply nested block elements. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
Description
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.77.0 until 1.107.7 and 2.52.0, the local web_fetch_tool and the WebFetch local fallback can consume excessive CPU and memory during HTML-to-Markdown conversion of attacker-controlled HTML containing deeply nested block elements. Conversion repeatedly reprocesses accumulated text and can greatly expand intermediate output before the returned-content limit is applied, allowing a model-directed fetch to delay other work in the process. Provider-native web fetching is not affected. This issue is fixed in versions 1.107.7 and 2.52.0.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pydantic | Pydantic Ai | >= 1.77.0, < 1.107.7 |
| Pydantic | Pydantic Ai | >= 2.0.0, < 2.52.0 |
References
- https://github.com/pydantic/pydantic-ai/pull/8984Patch, Vendor Advisory
- https://github.com/pydantic/pydantic-ai/pull/8985Patch, Vendor Advisory
- https://github.com/pydantic/pydantic-ai/releases/tag/v1.107.7Patch, Release Notes, Vendor Advisory
- https://github.com/pydantic/pydantic-ai/releases/tag/v2.52.0Patch, Release Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-107287?
How severe is CVE-2026-107287?
How do I fix CVE-2026-107287?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107281The AsyncHttpClient (AHC) library allows Java applications t…7.6
- CVE-2026-107282The AsyncHttpClient (AHC) library allows Java applications t…9.4
- CVE-2026-107283The AsyncHttpClient (AHC) library allows Java applications t…3.7
- CVE-2026-107284The AsyncHttpClient (AHC) library allows Java applications t…3.7
- CVE-2026-107285The AsyncHttpClient (AHC) library allows Java applications t…5.9
- CVE-2026-107286Pydantic AI is a Python agent framework for building applica…7.5
- CVE-2026-107288Pydantic AI is a Python agent framework for building applica…3.7
- CVE-2026-107289Pydantic AI is a Python agent framework for building applica…6.8
- CVE-2026-10729An HTML injection vulnerability in the notification email fo…1.2
- CVE-2026-107290Pydantic AI is a Python agent framework for building applica…6.5
- CVE-2026-107291Pydantic AI is a Python agent framework for building applica…4.3
- CVE-2026-107292Pydantic AI is a Python agent framework for building applica…6.4
Are you affected by CVE-2026-107287?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
