---
title: "PyTorch serve vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/pytorch/serve
type: product
description: "PyTorch serve has 4 published CVEs, 0 in CISA KEV and 1 with public exploits."
updated: 2024-07-18
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# PyTorch serve vulnerabilities

Vendor: [PyTorch](https://radicalnotion.ai/vendor/pytorch)

- **Published CVEs:** 4
- **In CISA KEV:** 0
- **With a public exploit:** 1
- **With a patch:** 4
- **Average CVSS:** 8.3
- **First CVE:** 2023-09-28
- **Latest CVE:** 2024-07-18

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 2 |
| High | 1 |
| Medium | 1 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 1 |
| [CWE-668](https://radicalnotion.ai/cwe/cwe-668) | Exposure of Resource to Wrong Sphere | 1 |
| [CWE-706](https://radicalnotion.ai/cwe/cwe-706) | Use of Incorrectly-Resolved Name or Reference | 1 |
| [CWE-918](https://radicalnotion.ai/cwe/cwe-918) | Server-Side Request Forgery | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2023 | 2 |
| 2024 | 2 |

## Affected versions

| Version | Kind | CVEs |
| --- | --- | --- |
| 0.3.0 | exact | 3 |
| 0.4.0 | exact | 3 |
| 0.7.0 | exact | 3 |
| 0.7.1 | exact | 3 |
| 0.8.0 | exact | 3 |
| 0.8.1 | exact | 3 |
| 0.1.0 | exact | 2 |
| 0.1.1 | exact | 2 |
| 0.2.0 | exact | 2 |
| 0.8.2 | exact | 2 |
| 0.9.0 | exact | 1 |
| 0.1.0 \<= v \< 0.8.2 | range | 1 |
| 0.1.0 \<= v \< 0.9.0 | range | 1 |
| 0.3.0 \<= v \< 0.11.0 | range | 1 |
| 0.4.2 \<= v \< 0.11.0 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 0.11.0 | 2 |
| 0.8.2 | 1 |
| 0.9.0 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-35198 | TorchServe bypass allowed\_urls configuration | critical | 9.3 | No | No | Yes |
| CVE-2024-35199 | TorchServe gRPC Port Exposure | high | 8.8 | No | No | Yes |
| CVE-2023-48299 | TorchServe ZipSlip | medium | 5.3 | No | No | Yes |
| CVE-2023-43654 | TorchServe Server-Side Request Forgery | critical | 10.0 | No | Yes | Yes |

## Frequently asked questions

### How many CVEs does PyTorch serve have?

PyTorch serve has 4 published CVE records since 2023.

### How many PyTorch serve CVEs are in CISA KEV?

None of PyTorch serve's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for PyTorch serve vulnerabilities?

Yes — 1 of PyTorch serve's CVEs have a known public exploit.

### Which versions of PyTorch serve are affected?

18 distinct PyTorch serve versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in PyTorch serve CVEs?

PyTorch serve's CVEs most often map to these CWE weakness types: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), CWE-668 (Exposure of Resource to Wrong Sphere), CWE-706 (Use of Incorrectly-Resolved Name or Reference), CWE-918 (Server-Side Request Forgery).

### How many critical PyTorch serve vulnerabilities are there?

PyTorch serve has 2 critical and 1 high-severity CVEs.

### What is the average severity of PyTorch serve CVEs?

The average CVSS base score across PyTorch serve's scored CVEs is 8.3.

## Other products from this vendor

- [PyTorch](https://radicalnotion.ai/vendor/pytorch/pytorch) (29 CVEs)
- [torch](https://radicalnotion.ai/vendor/pytorch/torch) (14 CVEs)
- [executorch](https://radicalnotion.ai/vendor/pytorch/executorch) (7 CVEs)
- [github.com/pytorch/executorch](https://radicalnotion.ai/vendor/pytorch/github-com-pytorch-executorch) (6 CVEs)
- [org.pytorch:executorch-android](https://radicalnotion.ai/vendor/pytorch/org-pytorch-executorch-android) (6 CVEs)
- [TorchServe](https://radicalnotion.ai/vendor/pytorch/torchserve) (6 CVEs)
- [PyTorch 2.7.0](https://radicalnotion.ai/vendor/pytorch/pytorch-2-7-0) (2 CVEs)
- [vision](https://radicalnotion.ai/vendor/pytorch/vision) (2 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/pytorch/serve). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
