Security mailing lists by PureSourceCode

CVE-2026-107295

HIGH 7.6CVSS 3.1

Pydantic AI Web chat UI (`Agent.to_web()`, `clai web`): a website visited by the developer can trigger agent runs and server-side tool execution on the local chat endpoint

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.

Published
8 Oct 2026
Last modified
15 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-346CWE-352
Also known as
GHSA-h4xc-3qfq-jf93PYSEC-2026-4278PYSEC-2026-4287
Sources
NVDJSONOSV GHSA-h4xc-3qfq-jf93JSONOSV PYSEC-2026-4278JSONOSV PYSEC-2026-4287JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
OSV PyPA CVSS 3.1 HIGH 7.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pydantic pydantic_ai
cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:*
>= 1.34.0, < 1.107.4 1.107.4
NVD pydantic pydantic_ai
cpe:2.3:a:pydantic:pydantic_ai:*:-:*:*:*:python:*:*
>= 2.0.0, < 2.28.0 2.28.0
OSV PyPI pydantic-ai >= 1.34.0, < 1.107.4 1.107.4
OSV PyPI pydantic-ai >= 2.0.0b1, < 2.28.0 2.28.0
OSV PyPI pydantic-ai-slim >= 1.34.0, < 1.107.4 1.107.4
OSV PyPI pydantic-ai-slim >= 2.0.0b1, < 2.28.0 2.28.0
OSV PyPI pydantic-ai >= 1.34.0, < 1.107.4; >= 2.0.0b1, < 2.28.0 1.107.4, 2.28.0
OSV PyPI pydantic-ai-slim >= 1.34.0, < 1.107.4; >= 2.0.0b1, < 2.28.0 1.107.4, 2.28.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 8 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.