Security Resilience

CVE-2024-35198

Pytorch Torchserve 0.4.2 – 0.11.0

Published
19 July 2024
Modified
04 September 2025
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0080 57th percentile
Risk Priority 72 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-35198 is a critical-severity Use of Incorrectly-Resolved Name or Reference (CWE-706) vulnerability in Pytorch Torchserve. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 43% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

This vulnerability is AI-related — categorised as Other AI Platforms; in the Supply Chain and Deployment risk domain.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. TorchServe 's check on allowed_urls configuration can be by-passed if the URL contains characters such as ".." but it does not prevent the model from…

more

being downloaded into the model store. Once a file is downloaded, it can be referenced without providing a URL the second time, which effectively bypasses the allowed_urls security check. Customers using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed by validating the URL without characters such as ".." before downloading see PR #3082. TorchServe release 0.11.0 includes the fix to address this vulnerability. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CWE(s)

AI Security AnalysisAI

AI Category
Other AI Platforms
Risk Domain
Supply Chain and Deployment
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
TorchServe is a production serving tool specifically designed for PyTorch models, which is a deep learning framework. The vulnerability affects model downloading and serving in the PyTorch ecosystem.

Related Threats

CVEs Like This One

CVE-2023-48299Same product: Pytorch Torchserve
CVE-2023-43654Same product: Pytorch Torchserve
CVE-2024-35199Same product: Pytorch Torchserve
CVE-2026-13372Shared CWE-706
CVE-2026-119270Shared CWE-706
CVE-2023-28643Shared CWE-706
CVE-2026-95275Shared CWE-706
CVE-2026-41402Shared CWE-706
CVE-2026-119266Shared CWE-706
CVE-2023-31814Shared CWE-706

Affected Assets

pytorch
torchserve
0.4.2 — 0.11.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Access enforcement applies authorization checks to the resolved resource, blocking access outside the intended sphere.

Information flow enforcement can constrain flows that result from an incorrectly resolved name or reference.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect incorrect name or reference resolution through fuzzing and negative test cases.

prevents

Secure-coding standards directly address canonicalization, input validation and safe name resolution, mitigating CWE-706.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-706, a class-level weakness, and none of its children carries one either.

References