UBUNTU-CVE-2026-123974

Source
https://ubuntu.com/security/CVE-2026-123974
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-123974.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-123974
Upstream
  • CVE-2026-123974
Published
2026-11-06T20:17:00Z
Modified
2026-11-24T14:55:27Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.7.1-7
1.8.1-4

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtorch-test",
            "binary_version":  "1.8.1-4"
        },
        {
            "binary_name":  "libtorch1.8",
            "binary_version":  "1.8.1-4"
        },
        {
            "binary_name":  "python3-torch",
            "binary_version":  "1.8.1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-123974.json"

Ubuntu:26.10 / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.9.1+dfsg-1~exp1ubuntu2
2.12.1+dfsg-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtorch-test",
            "binary_version":  "2.12.1+dfsg-1"
        },
        {
            "binary_name":  "libtorch2.12",
            "binary_version":  "2.12.1+dfsg-1"
        },
        {
            "binary_name":  "python3-torch",
            "binary_version":  "2.12.1+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-123974.json"

Ubuntu:26.04:LTS / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.6.0+dfsg-7
2.6.0+dfsg-9
2.9.1+dfsg-1~exp1ubuntu2

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "libtorch-test",
            "binary_version":  "2.9.1+dfsg-1~exp1ubuntu2"
        },
        {
            "binary_name":  "libtorch2.9",
            "binary_version":  "2.9.1+dfsg-1~exp1ubuntu2"
        },
        {
            "binary_name":  "python3-torch",
            "binary_version":  "2.9.1+dfsg-1~exp1ubuntu2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-123974.json"