SCA: security update for pydantic-ai, pydantic-ai-slim (GHSA-h4xc-3qfq-jf93)

high Tenable Self-Hosted Container Security Plugin ID 473869

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.34.0 until 1.107.4 and 2.28.0, the Agent.to_web() and clai web development chat endpoint has missing
request content-type validation. A website visited by a developer can submit a browser-compatible request
to a loopback-hosted chat server, causing the served agent to run and execute tools with the privileges
and credentials of the local process; client-relayed approval decisions also leave requires_approval=True
tools exposed. Binding to localhost does not prevent a browser page from reaching the loopback address.
This issue is fixed in versions 1.107.4 and 2.28.0. (CVE-2026-107295)

Solution

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

See Also

https://github.com/advisories/GHSA-h4xc-3qfq-jf93

Plugin Details

Severity: High

ID: 473869

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.9

Percentile: 52.44

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2026-107295

CVSS v3

Risk Factor: High

Base Score: 7.6

Temporal Score: 6.6

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

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-107295