PT-2026-65904 · Pypi · Pydantic-Ai
CVE-2026-54249
·
Published
2026-07-29
·
Updated
2026-07-29
CVSS v3.1
6.8
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Pydantic AI versions 1.65.0 through 1.105.0
Pydantic AI versions 2.0.0b1 through 2.0.0b5
Description
A client submitting message history to a UI adapter can reference arbitrary files within the application's model-provider or cloud-storage account. While file URL parts are checked against a scheme allowlist,
UploadedFile references—which use provider file IDs or cloud-storage URIs (such as s3:// or gs://)—are forwarded without validation. Since the provider resolves these references using the server-side identity (such as an IAM role, service account, or provider API key) instead of the client's identity, an attacker with a valid file identifier can force the server to read objects from its own account or other tenants.Recommendations
Update to version 1.106.0.
Update to version 2.0.0b6.
Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pydantic-Ai