REDHAT-BUG-2437781: SSRF

Published Feb 9, 2026
·
Updated

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. From 0.0.26 to before 1.56.0, aServer-Side Request Forgery (SSRF) vulnerability exists in Pydantic AI's URL download functionality. When applications accept message history from untrusted sources, attackers can include malicious URLs that cause the server to make HTTP requests to internal network resources, potentially accessing internal services or cloud credentials. This vulnerability only affects applications that accept message history from external users. This vulnerability is fixed in 1.56.0.

Affected Software

1 affected component
Pydantic Pydantic AI>=0.0.26<1.56.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pydantic-ai to a version that resolves this vulnerability.

    Fixed in 1.56.0
  2. Configuration

    Ensure message history provided to the application is not accepted from external/untrusted users, since the SSRF vulnerability only affects applications that accept message history from external users.

    Applications using Pydantic AI URL download functionality message history source trust = Untrusted sources not accepted

Event History

Feb 9, 2026
Data Sourced
via Red Hat·11:05 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2437781?

The severity of REDHAT-BUG-2437781 is classified as high with a severity score of 7.

2

What type of vulnerability is associated with REDHAT-BUG-2437781?

REDHAT-BUG-2437781 is associated with a Server-Side Request Forgery (SSRF) vulnerability.

3

How do I fix REDHAT-BUG-2437781?

To fix REDHAT-BUG-2437781, update Pydantic AI to version 1.56.0 or later.

4

What software is affected by REDHAT-BUG-2437781?

The affected software for REDHAT-BUG-2437781 is Pydantic AI, specifically versions from 0.0.26 to before 1.56.0.

5

What should I do if my application uses an untrusted source with REDHAT-BUG-2437781?

If your application uses an untrusted source, it is crucial to update Pydantic AI to mitigate the SSRF vulnerability identified in REDHAT-BUG-2437781.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203