cvelo
P3 · MediumCVSS 6.5EPSS 0.9%

torchvision before 0.29.2 Path Traversal via Tar Archive Extraction

  • CVE-2026-137507
  • GHSA-c26x-8h8m-rv92
  • EUVD-2026-136873

Description

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.

Text from the CVE.org record.

Recommendation

  • pytorch vision

    • If you run a version before 0.29.2update to 0.29.2 or later

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • pytorch vision

    Affected versionsFixed in
    before 0.29.20.29.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.