p PatchFirst

CVE-2026-25580

CVE-2026-25580 · Pydantic AI Affected by Server-Side Request Forgery (SSRF) in URL Download Handling

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.6 · High · EPSS 0.7% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • pydantic-ai

    Versions
    • >= 0.0.26, < 1.56.0: Affected

    No fix published

  • pydantic-ai PyPI

    Versions
    • 0.0.26
    • 0.0.27
    • 0.0.28
    • 0.0.29
    • 0.0.30
    • 0.0.31
    • 0.0.32
    • 0.0.33
    • 0.0.34
    • 0.0.35
    • 0.0.36
    • 0.0.37
    • 0.0.38
    • 0.0.39
    • 0.0.40
    • 0.0.41
    • 0.0.42
    • 0.0.43
    • 0.0.44
    • 0.0.45
    • 0.0.46
    • 0.0.47
    • 0.0.48
    • 0.0.49
    • 0.0.50
    • 0.0.51
    • 0.0.52
    • 0.0.53
    • 0.0.54
    • 0.0.55
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.2.1
    • 0.2.10
    • 0.2.11
    • 0.2.12
    • 0.2.13
    • 0.2.14
    • 0.2.15
    • 0.2.16
    • 0.2.17
    • 0.2.18
    • 0.2.19
    • 0.2.2
    • 0.2.20
    • 0.2.3
    • 0.2.4
    • 0.2.5
    • 0.2.6
    • 0.2.7
    • 0.2.8
    • 0.2.9
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.3.6
    • 0.3.7
    • 0.4.0
    • 0.4.1
    • 0.4.10
    • 0.4.11
    • 0.4.2
    • 0.4.3
    • 0.4.4
    • 0.4.5
    • 0.4.6
    • 0.4.7
    • 0.4.8
    • 0.4.9
    • 0.5.0
    • 0.5.1
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.8.0
    • 0.8.1
    • 1.0.0
    • 1.0.0b1
    • 1.0.1
    • 1.0.10
    • 1.0.11
    • 1.0.12
    • 1.0.13
    • 1.0.14
    • 1.0.15
    • 1.0.16
    • 1.0.17
    • 1.0.18
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    • 1.0.7
    • 1.0.8
    • 1.0.9
    • 1.1.0
    • 1.10.0
    • 1.11.0
    • 1.11.1
    • 1.12.0
    • 1.13.0
    • 1.14.0
    • 1.14.1
    • 1.15.0
    • 1.16.0
    • 1.17.0
    • 1.18.0
    • 1.19.0
    • 1.2.0
    • 1.2.1
    • 1.20.0
    • 1.21.0
    • 1.22.0
    • 1.23.0
    • 1.24.0
    • 1.25.0
    • 1.25.1
    • 1.26.0
    • 1.27.0
    • 1.28.0
    • 1.29.0
    • 1.3.0
    • 1.30.0
    • 1.30.1
    • 1.31.0
    • 1.32.0
    • 1.33.0
    • 1.34.0
    • 1.35.0
    • 1.36.0
    • 1.37.0
    • 1.38.0
    • 1.39.0
    • 1.39.1
    • 1.4.0
    • 1.40.0
    • 1.41.0
    • 1.42.0
    • 1.43.0
    • 1.44.0
    • 1.46.0
    • 1.47.0
    • 1.48.0
    • 1.49.0
    • 1.5.0
    • 1.50.0
    • 1.51.0
    • 1.52.0
    • 1.53.0
    • 1.54.0
    • 1.55.0
    • 1.6.0
    • 1.7.0
    • 1.8.0
    • 1.9.0
    • 1.9.1
    Affected ranges
    • ECOSYSTEM: ≥ 0.0.26, < 1.56.0

    Update to 1.56.0

  • pydantic-ai-slim PyPI

    Versions
    • 0.0.26
    • 0.0.27
    • 0.0.28
    • 0.0.29
    • 0.0.30
    • 0.0.31
    • 0.0.32
    • 0.0.33
    • 0.0.34
    • 0.0.35
    • 0.0.36
    • 0.0.37
    • 0.0.38
    • 0.0.39
    • 0.0.40
    • 0.0.41
    • 0.0.42
    • 0.0.43
    • 0.0.44
    • 0.0.45
    • 0.0.46
    • 0.0.47
    • 0.0.48
    • 0.0.49
    • 0.0.50
    • 0.0.51
    • 0.0.52
    • 0.0.53
    • 0.0.54
    • 0.0.55
    • 0.1.0
    • 0.1.1
    • 0.1.10
    • 0.1.11
    • 0.1.12
    • 0.1.2
    • 0.1.3
    • 0.1.4
    • 0.1.5
    • 0.1.6
    • 0.1.7
    • 0.1.8
    • 0.1.9
    • 0.2.0
    • 0.2.1
    • 0.2.10
    • 0.2.11
    • 0.2.12
    • 0.2.13
    • 0.2.14
    • 0.2.15
    • 0.2.16
    • 0.2.17
    • 0.2.18
    • 0.2.19
    • 0.2.2
    • 0.2.20
    • 0.2.3
    • 0.2.4
    • 0.2.5
    • 0.2.6
    • 0.2.7
    • 0.2.8
    • 0.2.9
    • 0.3.0
    • 0.3.1
    • 0.3.2
    • 0.3.3
    • 0.3.4
    • 0.3.5
    • 0.3.6
    • 0.3.7
    • 0.4.0
    • 0.4.1
    • 0.4.10
    • 0.4.11
    • 0.4.2
    • 0.4.3
    • 0.4.4
    • 0.4.5
    • 0.4.6
    • 0.4.7
    • 0.4.8
    • 0.4.9
    • 0.5.0
    • 0.5.1
    • 0.6.0
    • 0.6.1
    • 0.6.2
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.8.0
    • 0.8.1
    • 1.0.0
    • 1.0.0b1
    • 1.0.1
    • 1.0.10
    • 1.0.11
    • 1.0.12
    • 1.0.13
    • 1.0.14
    • 1.0.15
    • 1.0.16
    • 1.0.17
    • 1.0.18
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.0.5
    • 1.0.6
    • 1.0.7
    • 1.0.8
    • 1.0.9
    • 1.1.0
    • 1.10.0
    • 1.11.0
    • 1.11.1
    • 1.12.0
    • 1.13.0
    • 1.14.0
    • 1.14.1
    • 1.15.0
    • 1.16.0
    • 1.17.0
    • 1.18.0
    • 1.19.0
    • 1.2.0
    • 1.2.1
    • 1.20.0
    • 1.21.0
    • 1.22.0
    • 1.23.0
    • 1.24.0
    • 1.25.0
    • 1.25.1
    • 1.26.0
    • 1.27.0
    • 1.28.0
    • 1.29.0
    • 1.3.0
    • 1.30.0
    • 1.30.1
    • 1.31.0
    • 1.32.0
    • 1.33.0
    • 1.34.0
    • 1.35.0
    • 1.36.0
    • 1.37.0
    • 1.38.0
    • 1.39.0
    • 1.39.1
    • 1.4.0
    • 1.40.0
    • 1.41.0
    • 1.42.0
    • 1.43.0
    • 1.44.0
    • 1.46.0
    • 1.47.0
    • 1.48.0
    • 1.49.0
    • 1.5.0
    • 1.50.0
    • 1.51.0
    • 1.52.0
    • 1.53.0
    • 1.54.0
    • 1.55.0
    • 1.6.0
    • 1.7.0
    • 1.8.0
    • 1.9.0
    • 1.9.1
    Affected ranges
    • ECOSYSTEM: ≥ 0.0.26, < 1.56.0

    Update to 1.56.0

Original sources

Check your server →