目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-25640— pydantic-ai 跨站脚本漏洞

一分钟漏洞结论

影响对象
pydantic pydantic-ai
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

pydantic-ai是Pydantic开源的一个用于构建生产级应用程序和工作流的生成式AI框架。 pydantic-ai 1.34.0至1.51.0之前版本存在跨站脚本漏洞,该漏洞源于Web UI存在路径遍历,可能允许攻击者通过特制URL在应用环境中提供任意JavaScript,导致客户端数据泄露。

CVSS 7.1 · High EPSS 0.46% · P38

影响版本矩阵 1

厂商产品 版本范围状态
pydantic pydantic-ai >= 1.34.0, < 1.51.0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-25640 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Pydantic AI affected by Stored XSS via Path Traversal in Web UI CDN URL
来源: CVE Program / CVE List V5
Vulnerability Description
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 Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5
Vulnerability Title
pydantic-ai 跨站脚本漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
pydantic-ai是Pydantic开源的一个用于构建生产级应用程序和工作流的生成式AI框架。 pydantic-ai 1.34.0至1.51.0之前版本存在跨站脚本漏洞,该漏洞源于Web UI存在路径遍历,可能允许攻击者通过特制URL在应用环境中提供任意JavaScript,导致客户端数据泄露。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
pydantic pydantic-ai >= 1.34.0, < 1.51.0 -

二、漏洞 CVE-2026-25640 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-25640 的情报信息

请登录查看更多情报信息。

CVE-2026-25640 厂商安全公告 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-25640

暂无评论


发表评论