Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    1 vulnerability

    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
    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.
    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
    Assigner
    Akrites CNA under the mitre root
    CNA scorecard – unranked: 1 record in the last 180 days, 10 needed details
    Impacted products
    Vendor Product Version
    PyTorch TorchServe Affected: 0 , < * (semver)
    Create a notification for this product.
    Date Public
    2026-10-29 15:00
    Show details on NVD website

    {
      "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"
    }