Cloud file disclosure via unvalidated UploadedFile references
Published Jul 29, 2026 · Updated Jul 29, 2026
SSRF in Pydantic AI and Pydantic AI Slim 1.65.0 through 1.105.0 and 2.0.0b1 through 2.0.0b5 allows remote attackers to read cloud files. UI adapters reconstruct UploadedFile parts from client-submitted history and forward unvalidated provider IDs or cloud-storage URIs for resolution with server credentials. Exploitation requires an application to pass untrusted history through an affected adapter and a valid referenceable file identifier; access is limited to files available to the server identity.
Summary
What happened
SSRF in Pydantic AI and Pydantic AI Slim 1.65.0 through 1.105.0 and 2.0.0b1 through 2.0.0b5 allows remote attackers to read cloud files. UI adapters reconstruct UploadedFile parts from client-submitted history and forward unvalidated provider IDs or cloud-storage URIs for resolution with server credentials. Exploitation requires an application to pass untrusted history through an affected adapter and a valid referenceable file identifier; access is limited to files available to the server identity.
The record
- CVE
- CVE-2026-54249
- Published
- Jul 29, 2026
- Updated
- Jul 29, 2026
- Vendor
- Pydantic
- Product
- Pydantic AI Slim
- Classifications
- CWE-918, T1530
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jul 29, 2026CVE publishedPublication date reported by the CVE source.
- Jul 29, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.65.0, < 1.106.0
- Affected versionversion=>= 2.0.0b1, < 2.0.0b6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo