CVEBrief

Home / pydantic / pydantic-ai / CVE-2026-48782

CVE-2026-48782: is it exploited, and which versions of pydantic-ai are affected and fixed?

CVE-2026-48782 is a server-side request forgery (SSRF) vulnerability in pydantic-ai. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: pydantic-ai-slim from 1.56.0 before 1.102.0, pydantic-ai from 1.56.0 before 1.102.0, pydantic-ai from 2.0.0b1 before 2.0.0b3 and 1 more (GitHub advisory GHSA-cg7w-rg45-pc59). Fixed in 1.102.0 and 2.0.0b3 (GitHub advisory GHSA-cg7w-rg45-pc59). Severity: Medium (6.8, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:39 UTC
Affected
pydantic-ai-slim from 1.56.0 before 1.102.0, pydantic-ai from 1.56.0 before 1.102.0, pydantic-ai from 2.0.0b1 before 2.0.0b3 and 1 more
GitHub advisory GHSA-cg7w-rg45-pc59
Fixed in
1.102.0 and 2.0.0b3
GitHub advisory GHSA-cg7w-rg45-pc59
Severity
Medium 6.8
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.40% in 30 days
higher than 36% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-48782?

pydantic-ai: SSRF blocklist bypass via IPv4-compatible, SIIT/IVI, and local NAT64 IPv6 addresses (incomplete fix of CVE-2026-46678)

Pydantic AI is a Python agent framework for building applications and workflows with Generative AI. In versions 1.56.0 through 1.101.0, 2.0.0b1, and 2.0.0b2, the cloud-metadata blocklist could be bypassed by encoding the metadata IP in an IPv6 transition form that the previous fix, CVE-2026-46678, did not decode, exposing cloud IAM short-term credentials. The previous remediation decoded only IPv4-mapped IPv6, 6to4, and the NAT64 well-known prefix, so the metadata guarantee did not hold for the remaining transition forms: IPv4-compatible IPv6 (::a.b.c.d), the NAT64 RFC 8215 local-use prefix (64:ff9b:1::/48), operator-chosen NAT64 prefixes, and ISATAP. The IPv6 wrapper is then delivered to the underlying IPv4 metadata endpoint. This occurs when an application using Pydantic AI opts a URL into force_download='allow-local' (which disables the default block on private/internal IPs) and runs on a network that actually routes the affected IPv6 transition forms: NAT64-configured networks (IPv6-only or dual-stack-with-NAT64 deployments, including some Kubernetes setups) for the NAT64 variants, or networks with an ISATAP tunnel for ISATAP. A standard dual-stack cloud VM or container does not route these forms and is not affected in practice. The IPv4-compatible and Teredo variants are deprecated and addressed as defense-in-depth. This is an incomplete fix of GHSA-cqp8-fcvh-x7r3 / CVE-2026-46678 (itself a follow-up to CVE-2026-25580). This issue has been fixed in version 2.0.0b3.

From the CVE record by GitHub_M, last updated June 17, 2026, 14:22 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
pydanticpydantic-ai>= 1.56.0, < 1.102.0
>= 2.0.0b1, < 2.0.0b3
pydanticpydantic-ai-slim>= 2.0.0b1, < 2.0.0b3
>= 1.56.0, < 1.102.0

As the CVE record by GitHub_M states it, last updated June 17, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIpydantic-ai-slim>= 1.56.0, < 1.102.01.102.0GHSA-cg7w-rg45-pc59
PyPIpydantic-ai>= 1.56.0, < 1.102.01.102.0GHSA-cg7w-rg45-pc59
PyPIpydantic-ai>= 2.0.0b1, < 2.0.0b32.0.0b3GHSA-cg7w-rg45-pc59
PyPIpydantic-ai-slim>= 2.0.0b1, < 2.0.0b32.0.0b3GHSA-cg7w-rg45-pc59

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 26, 2026. Summary: pydantic-ai: SSRF blocklist bypass via IPv4-compatible, SIIT/IVI, and local NAT64 IPv6 addresses (incomplete fix of CVE-2026-46678).

Which products and versions does the NVD list as affected?

VendorProductVersionsType
pydanticpydantic aifrom 1.56.0 before 1.102.0application
pydanticpydantic ai2.0.0application

NVD analysis (status Analyzed), last modified August 6, 2026, 18:30 UTC.

How severe is CVE-2026-48782?

ScoreVersionVectorSource
Medium 6.8CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NGitHub_M

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-48782 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 17, 2026)
EPSS
0.40% probability of exploitation activity in the next 30 days, percentile 36.5 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
May 22, 2026
Published
June 16, 2026, 22:49 UTC
CVE record updated
June 17, 2026, 14:22 UTC by GitHub_M
NVD
Analyzed, last modified August 6, 2026, 18:30 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect pydantic-ai?

Every CVE in pydantic-ai

Questions about CVE-2026-48782

Is CVE-2026-48782 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of pydantic-ai are affected by CVE-2026-48782?

pydantic-ai-slim from 1.56.0 before 1.102.0, pydantic-ai from 1.56.0 before 1.102.0, pydantic-ai from 2.0.0b1 before 2.0.0b3 and pydantic-ai-slim from 2.0.0b1 before 2.0.0b3, per the GitHub advisory GHSA-cg7w-rg45-pc59. The tables above give every range the sources list.

Which version fixes CVE-2026-48782?

1.102.0 and 2.0.0b3, per the GitHub advisory GHSA-cg7w-rg45-pc59. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-48782?

Medium (6.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2026-48782?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.