CVE-2026-137507

Source
https://cve.org/CVERecord?id=CVE-2026-137507
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137507.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-137507
Published
2026-11-26T20:02:35Z
Modified
2026-11-26T23:00:56Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
torchvision before 0.29.2 Path Traversal via Tar Archive Extraction
Details

torchvision before 0.29.2 contains a path traversal vulnerability in _extract_tar() that allows attackers to write files outside the extraction directory by supplying crafted tar archives. Attackers controlling archives passed to extract_archive() or download_and_extract_archive() can use .. paths, absolute paths, or symlinks to overwrite Python modules and achieve code execution.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137507.json"
}
References

Affected packages

Git / github.com/pytorch/vision

Affected ranges

Type
GIT
Repo
https://github.com/pytorch/vision
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.29.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "7a7520f83957fe6a0f934fe7035f07b5ef32e8f9"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "b22811118b30f18ef02006fc6215a52140fd689f"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v0.29.2",
            "range":  [
                {
                    "fixed":  "f12281517f1b2f6255904639b027c9436f3e5008"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

Other
tag_from_my_fork
v0.*
v0.1.5
v0.1.6
v0.1.7
v0.1.8
v0.1.9
v0.2.0
v0.2.1
v0.29.0
v0.29.0-rc1
v0.29.0-rc2
v0.29.1
v0.29.1-rc1
v0.29.1-rc2
v0.29.2-rc1
v0.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137507.json"