GHSA-wjp5-868j-wqv7 · 深刻度: high · エコシステム: pip — Pydantic AI has Stored XSS via Path Traversal in Web UI CDN URL
Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 1.34.0 to before 1.51.0, a path traversal vulnerability in the Pydantic AI web UI allows an attacker to serve arbitrary JavaScript in the context of the application by crafting a malicious URL. In affected versions, the CDN URL is constructed using a version query parameter from the request URL. This parameter is not validated, allowing path traversal sequences that cause the server to fetch and serve attacker-controlled HTML/JavaScript from an arbitrary source on the same CDN, instead of the legitimate chat UI package. If a victim clicks the link or visits it via an iframe, attacker-controlled code executes in their browser, enabling theft of chat history and other client-side data. This vulnerability only affects applications that use Agent.to_web to serve a chat interface and clai web to serve a chat interface from the CLI. These are typically run locally (on localhost), but may also be deployed on a remote server. This vulnerability is fixed in 1.51.0.
総合評価: CVE-2026-25640 は低リスク(35.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.27%、18 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.01% | 0.27% | +0.26% |
| 2 | 2026-02-07 | — | 0.01% | — |
EPSS の全履歴 (全 2 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.1 | 3.1 | HIGH |
|
2.8 | 4.2 | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
GHSA-wjp5-868j-wqv7 · 深刻度: high · エコシステム: pip — Pydantic AI has Stored XSS via Path Traversal in Web UI CDN URL
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2026-25640 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| pydantic | pydantic_ai | >= 1.34.0, < 1.51.0 | cpe:2.3:a:pydantic:pydantic_ai:*:*:*:*:*:python:*:* |
| URL | タグ |
|---|---|
| https://github.com/pydantic/pydantic-ai/releases/tag/v1.51.0 | Product Release Notes |
| https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-wjp5-868j-wqv7 | Vendor Advisory |