CVE-2026-123974 (GCVE-0-2026-123974)
Vulnerability from cvelistv5 – Published: 2026-11-06 19:52 – Updated: 2026-11-06 20:18 Unsupported When Assigned
VLAI
EPSS
VEX
Title
pytorch/serve: Local privilege escalation through insecure temporary path
Summary
In all versions of PyTorch's TorchServe, a predictable extraction directory in /tmp lets a local user swap the model handler and run code as the TorchServe service account leading to local privilege escalation.
Severity
7.8 (High)
SSVC
Exploitation: poc
Automatable: no
Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-06 20:18 UTC
CWE
- CWE-379 - Creation of temporary file in directory with insecure permissions
References
2 references
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| PyTorch | TorchServe |
Affected:
0 , < *
(semver)
|
Date Public
2026-10-29 15:00
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-123974",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-06T20:18:09.099163Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-06T20:18:25.863Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unknown",
"product": "TorchServe",
"repo": "https://github.com/pytorch/serve",
"vendor": "PyTorch",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Christ Bowel"
}
],
"datePublic": "2026-10-29T15:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "In all versions of PyTorch\u0027s TorchServe, a predictable extraction directory in /tmp lets a local user swap the model handler and run code as the TorchServe service account leading to local privilege escalation."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-379",
"description": "CWE-379 Creation of temporary file in directory with insecure permissions",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-06T19:52:16.058Z",
"orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
"shortName": "Akrites"
},
"references": [
{
"url": "https://christbowel.com/blog/torchserve-lpe/"
},
{
"url": "https://github.com/Christbowel/torchserve-lpe"
}
],
"solutions": [
{
"lang": "en",
"value": "The project is archived and currently no permanent solution is scheduled for release. See workaround section."
}
],
"tags": [
"unsupported-when-assigned"
],
"title": "pytorch/serve: Local privilege escalation through insecure temporary path",
"workarounds": [
{
"lang": "en",
"value": "Three independent fixes:\n\n\n * Set TEMP (or pass -Djava.io.tmpdir) to a directory the service account owns and that is not world-writable.\n * Harden the systemd unit with PrivateTmp=yes, so /tmp is namespaced per service.\n * At the code level, extract into a directory owned by the service account and refuse to reuse a pre-existing extraction root that the service does not own, instead of forceMkdir-ing into whatever is already there."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
"assignerShortName": "Akrites",
"cveId": "CVE-2026-123974",
"datePublished": "2026-11-06T19:52:16.058Z",
"dateReserved": "2026-11-06T17:53:03.966Z",
"dateUpdated": "2026-11-06T20:18:25.863Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-123974",
"date": "2026-11-16",
"epss": "0.00145",
"percentile": "0.03825"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unknown",
"product": "TorchServe",
"repo": "https://github.com/pytorch/serve",
"vendor": "PyTorch",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"source": "7fefd608-56a6-419f-a002-fd8543c0710a"
}
],
"cveTags": [
{
"sourceIdentifier": "7fefd608-56a6-419f-a002-fd8543c0710a",
"tags": [
"unsupported-when-assigned"
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In all versions of PyTorch\u0027s TorchServe, a predictable extraction directory in /tmp lets a local user swap the model handler and run code as the TorchServe service account leading to local privilege escalation."
}
],
"id": "CVE-2026-123974",
"lastModified": "2026-11-12T20:04:52.377",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 5.9,
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-123974",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-06T20:18:09.099163Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-11-06T20:17:20.633",
"references": [
{
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"url": "https://christbowel.com/blog/torchserve-lpe/"
},
{
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"url": "https://github.com/Christbowel/torchserve-lpe"
}
],
"sourceIdentifier": "7fefd608-56a6-419f-a002-fd8543c0710a",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-379"
}
],
"source": "7fefd608-56a6-419f-a002-fd8543c0710a",
"type": "Secondary"
}
]
}
},
"vulnrichment": {
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-123974",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-11-06T20:18:09.099163Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-11-06T20:16:55.549Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unknown",
"product": "TorchServe",
"repo": "https://github.com/pytorch/serve",
"vendor": "PyTorch",
"versions": [
{
"lessThan": "*",
"status": "affected",
"version": "0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Christ Bowel"
}
],
"datePublic": "2026-10-29T15:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "In all versions of PyTorch\u0027s TorchServe, a predictable extraction directory in /tmp lets a local user swap the model handler and run code as the TorchServe service account leading to local privilege escalation."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-379",
"description": "CWE-379 Creation of temporary file in directory with insecure permissions",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-06T19:52:16.058Z",
"orgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
"shortName": "Akrites"
},
"references": [
{
"url": "https://christbowel.com/blog/torchserve-lpe/"
},
{
"url": "https://github.com/Christbowel/torchserve-lpe"
}
],
"solutions": [
{
"lang": "en",
"value": "The project is archived and currently no permanent solution is scheduled for release. See workaround section."
}
],
"tags": [
"unsupported-when-assigned"
],
"title": "pytorch/serve: Local privilege escalation through insecure temporary path",
"workarounds": [
{
"lang": "en",
"value": "Three independent fixes:\n\n\n * Set TEMP (or pass -Djava.io.tmpdir) to a directory the service account owns and that is not world-writable.\n * Harden the systemd unit with PrivateTmp=yes, so /tmp is namespaced per service.\n * At the code level, extract into a directory owned by the service account and refuse to reuse a pre-existing extraction root that the service does not own, instead of forceMkdir-ing into whatever is already there."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "7fefd608-56a6-419f-a002-fd8543c0710a",
"assignerShortName": "Akrites",
"cveId": "CVE-2026-123974",
"datePublished": "2026-11-06T19:52:16.058Z",
"dateReserved": "2026-11-06T17:53:03.966Z",
"dateUpdated": "2026-11-06T20:18:25.863Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…