SCA: security update for pydantic-ai, pydantic-ai-slim (GHSA-v36g-jcw9-x7cw)

medium Tenable Self-Hosted Container Security Plugin ID 473880

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-107287)

Solution

Update the pydantic-ai library and its related packages to version 1.107.7 or later.

See Also

https://github.com/advisories/GHSA-v36g-jcw9-x7cw

Plugin Details

Severity: Medium

ID: 473880

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/8/2026

Updated: 10/8/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.68

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-107287

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/8/2026

Vulnerability Publication Date: 10/8/2026

Reference Information

CVE: CVE-2026-107287