Lookup for vulnerable packages by Package URL.

Purlpkg:pypi/pydantic-ai@1.49.0
Typepypi
Namespace
Namepydantic-ai
Version1.49.0
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version1.99.0
Latest_non_vulnerable_version1.99.0
Affected_by_vulnerabilities
0
url VCID-5da8-swac-ykfw
vulnerability_id VCID-5da8-swac-ykfw
summary
Pydantic AI has Stored XSS via Path Traversal in Web UI CDN URL
A Path Traversal vulnerability in the [Pydantic AI web UI](https://ai.pydantic.dev/web/) allows an attacker to serve arbitrary JavaScript in the context of the application by crafting a malicious URL. If a victim clicks the link or visits it via an iframe, attacker-controlled code executes in their browser, enabling theft of chat history and other client-side data.

**This vulnerability only affects applications that use:**
- **`Agent.to_web`** to serve a chat interface
- **`clai web`** to serve a chat interface from the CLI

These are typically run locally (on `localhost`), but may also be deployed on a remote server.
references
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-25640.json
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-25640.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-25640
reference_id
reference_type
scores
0
value 0.00016
scoring_system epss
scoring_elements 0.03768
published_at 2026-06-05T12:55:00Z
1
value 0.00016
scoring_system epss
scoring_elements 0.0376
published_at 2026-06-07T12:55:00Z
2
value 0.00016
scoring_system epss
scoring_elements 0.03771
published_at 2026-06-06T12:55:00Z
3
value 0.00019
scoring_system epss
scoring_elements 0.05436
published_at 2026-06-09T12:55:00Z
4
value 0.00019
scoring_system epss
scoring_elements 0.05393
published_at 2026-06-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-25640
2
reference_url https://github.com/pydantic/pydantic-ai
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/pydantic/pydantic-ai
3
reference_url https://github.com/pydantic/pydantic-ai/releases/tag/v1.51.0
reference_id
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-06T20:16:17Z/
url https://github.com/pydantic/pydantic-ai/releases/tag/v1.51.0
4
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=2437753
reference_id 2437753
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=2437753
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-25640
reference_id CVE-2026-25640
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-25640
6
reference_url https://github.com/advisories/GHSA-wjp5-868j-wqv7
reference_id GHSA-wjp5-868j-wqv7
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-wjp5-868j-wqv7
7
reference_url https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-wjp5-868j-wqv7
reference_id GHSA-wjp5-868j-wqv7
reference_type
scores
0
value 7.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-06T20:16:17Z/
url https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-wjp5-868j-wqv7
fixed_packages
0
url pkg:pypi/pydantic-ai@1.51.0
purl pkg:pypi/pydantic-ai@1.51.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-r85m-zgq5-1fab
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/pydantic-ai@1.51.0
aliases CVE-2026-25640, GHSA-wjp5-868j-wqv7
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-5da8-swac-ykfw
1
url VCID-r85m-zgq5-1fab
vulnerability_id VCID-r85m-zgq5-1fab
summary
Pydantic AI has Server-Side Request Forgery (SSRF) in URL Download Handling
A Server-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**, such as those using:
- **`Agent.to_web`** or **`clai web`** to serve a chat interface
- **`VercelAIAdapter`** for Vercel AI SDK integration
- **`AGUIAdapter`** or **`Agent.to_ag_ui`** for AG-UI protocol integration
- Custom APIs that accept message history from user input

Applications that only use hardcoded or developer-controlled URLs are not affected.
references
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-25580.json
reference_id
reference_type
scores
0
value 8.6
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-25580.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-25580
reference_id
reference_type
scores
0
value 0.00018
scoring_system epss
scoring_elements 0.04728
published_at 2026-06-05T12:55:00Z
1
value 0.00018
scoring_system epss
scoring_elements 0.047
published_at 2026-06-07T12:55:00Z
2
value 0.00018
scoring_system epss
scoring_elements 0.04712
published_at 2026-06-06T12:55:00Z
3
value 0.00019
scoring_system epss
scoring_elements 0.05539
published_at 2026-06-09T12:55:00Z
4
value 0.00019
scoring_system epss
scoring_elements 0.05496
published_at 2026-06-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-25580
2
reference_url https://github.com/pydantic/pydantic-ai
reference_id
reference_type
scores
0
value 8.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/pydantic/pydantic-ai
3
reference_url https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301
reference_id
reference_type
scores
0
value 8.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
2
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-02-09T15:21:59Z/
url https://github.com/pydantic/pydantic-ai/commit/d398bc9d39aecca6530fa7486a410d5cce936301
4
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=2437781
reference_id 2437781
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=2437781
5
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-25580
reference_id CVE-2026-25580
reference_type
scores
0
value 8.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-25580
6
reference_url https://github.com/advisories/GHSA-2jrp-274c-jhv3
reference_id GHSA-2jrp-274c-jhv3
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-2jrp-274c-jhv3
7
reference_url https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3
reference_id GHSA-2jrp-274c-jhv3
reference_type
scores
0
value 8.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value HIGH
scoring_system generic_textual
scoring_elements
3
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-02-09T15:21:59Z/
url https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-2jrp-274c-jhv3
fixed_packages
0
url pkg:pypi/pydantic-ai@1.56.0
purl pkg:pypi/pydantic-ai@1.56.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-rgd3-g7uy-y7cy
resource_url http://public2.vulnerablecode.io/packages/pkg:pypi/pydantic-ai@1.56.0
aliases CVE-2026-25580, GHSA-2jrp-274c-jhv3
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-r85m-zgq5-1fab
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:pypi/pydantic-ai@1.49.0