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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-54249— pydantic-ai 服务端请求伪造漏洞

一分钟漏洞结论

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

Pydantic pydantic-ai是Pydantic组织开源的一个用于构建生产级应用程序和工作流的生成式AI框架。 pydantic-ai 1.65.0至1.105.0版本和2.0.0b1至2.0.0b5版本存在服务端请求伪造漏洞,该漏洞源于UploadedFile引用未经验证,可能导致攻击者构造消息历史使服务器读取自身账户或其他租户的对象。

CVSS 6.8 · Medium EPSS 0.32% · P22

可能的 ATT&CK 技术 1 AI

T1530 · Data from Cloud Storage

影响版本矩阵 4

厂商产品 版本范围状态
pydantic pydantic-ai >= 1.65.0, < 1.106.0 affected
>= 2.0.0b1, < 2.0.0b6 affected
pydantic pydantic-ai-slim >= 2.0.0b1, < 2.0.0b6 affected
>= 1.65.0, < 1.106.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
VercelAIAdapter trusts client-controlled `providerMetadata` to construct `UploadedFile` — S3/GCS confused deputy via provider metadata injection
来源: CVE Program / CVE List V5
Vulnerability Description
Pydantic AI is a Python agent framework for building Generative AI applications. In versions 1.65.0 through 1.105.0, and 2.0.0b1 through 2.0.0b5, a client that submits message history to a Pydantic AI UI adapter (such as the Vercel AI adapter) can reference arbitrary files in the application's model-provider or cloud-storage account. While file URL parts are validated against a scheme allowlist, UploadedFile references — which point to a file by provider file ID or cloud-storage URI (e.g. s3://…, gs://…) — were forwarded without validation. Because the provider resolves an UploadedFile using the server-side identity (IAM role, service account, or provider API key) rather than the client's, an attacker can craft message history to make the server read objects from its own account or other tenants, given a referenceable identifier. Exploitation requires a valid file identifier, which is not always unguessable depending on how the application names objects. This issue has been fixed in versions 1.106.0 and 2.0.0b6.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
服务端请求伪造(SSRF)
来源: CVE Program / CVE List V5
Vulnerability Title
pydantic-ai 服务端请求伪造漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Pydantic pydantic-ai是Pydantic组织开源的一个用于构建生产级应用程序和工作流的生成式AI框架。 pydantic-ai 1.65.0至1.105.0版本和2.0.0b1至2.0.0b5版本存在服务端请求伪造漏洞,该漏洞源于UploadedFile引用未经验证,可能导致攻击者构造消息历史使服务器读取自身账户或其他租户的对象。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
pydantic pydantic-ai >= 1.65.0, < 1.106.0 -
pydantic pydantic-ai-slim >= 2.0.0b1, < 2.0.0b6 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

同批安全公告 · pydantic · 2026-07-29 · 共 3 条

CVE-2026-46678 6.8 MEDIUM pydantic-ai 服务端请求伪造漏洞
CVE-2026-65975 6.5 MEDIUM pydantic-ai 授权问题漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-54249

暂无评论


发表评论