[CLSA-2026:1790188429] Fix CVE(s): CVE-2026-82049
Type:
security
Severity:
Important
Release date:
2026-09-23 18:34:01 UTC
Description:
* SECURITY UPDATE: tarfile PEP 706 "data"/"tar" extraction filter bypass via a hard link to a symlink. A crafted archive whose hard link names a symlink stored deeper in the archive made makelink_with_filter() call os.link() on the unresolved source; link(2) does not follow symlinks, so the extracted member became the same symlink inode under the hard link's own, shallower name, where its relative payload re-bases outside the destination. The chmod()/utime() that tarfile applies next then hit the outside file, changing its mode and mtime, and its contents became readable from inside the extracted tree (CWE-59). - debian/patches/CVE-2026-82049.patch: backport of cpython b8f23e307097552eaea2604383a12ab280520d0d (gh-157190, GH-157191, GH-157192), the 3.13-branch form of the fix; the changed line and its comment are upstream's verbatim, only re-anchored because this tree has no "unlink an existing targetpath" step before os.link(). The upstream regression test test_sneaky_hardlink_relocation is carried too, minus the @symlink_test / @os_helper.skip_unless_hardlink decorators and with os_helper.can_symlink() spelled support.can_symlink(), neither of which exists in 3.7. - The one-line fix closes only the variant where the archive carries a decoy file at the outer name, so os.path.exists(tarinfo._link_target) is true and extraction goes through os.link(). The decoy-less variant never reaches os.link() at all; under the "data" filter it is rejected by CVE-2026-11940.patch, already in this package, so the two must not be separated. - CVE-2026-82049 * The Misc/NEWS.d fragment of the upstream commit is omitted; this version ships a single Misc/NEWS file.
CVEs fixed:
Updated packages:
  • alt-python37_3.7.17-32_amd64.deb
    sha:6fc97b0bfe1aa7f1bc89e6b8faed9a1a9fb4617b
  • alt-python37-debug_3.7.17-32_amd64.deb
    sha:ba3b2950b586a594713da92b4eb157f2a9149469
  • alt-python37-devel_3.7.17-32_amd64.deb
    sha:51bf4df33ad84a744c334de510c889f1aa22c79b
  • alt-python37-libs_3.7.17-32_amd64.deb
    sha:b9506d9720430f8a8110ea88bc0ebed3e1b4b412
  • alt-python37-test_3.7.17-32_amd64.deb
    sha:67b54f430191d3a1cba99e5764b5f54db093c227
  • alt-python37-tkinter_3.7.17-32_amd64.deb
    sha:6fb29606cfbe56618dda30cb69033887f8e45352
  • alt-python37-tools_3.7.17-32_amd64.deb
    sha:d45c44fb03a7d6b2b812ffb19bf8fb921040394a
  • alt-python37_3.7.17-32_arm64.deb
    sha:00f107fcaf293610ffeff7daa08bb882d110c59f
  • alt-python37-debug_3.7.17-32_arm64.deb
    sha:c8b4c5e65424b30cb367df1f90045991867b1029
  • alt-python37-devel_3.7.17-32_arm64.deb
    sha:2a9d49c88f8b040ce39f86806d626deec94e3982
  • alt-python37-libs_3.7.17-32_arm64.deb
    sha:66f34f823dde81179ca2ead25bdd2884d26b3270
  • alt-python37-test_3.7.17-32_arm64.deb
    sha:520489410561097d891cf6061f3476a94adb40c9
  • alt-python37-tkinter_3.7.17-32_arm64.deb
    sha:b536c9b8b4d3c47fb487df9e93be4ce1623223bd
  • alt-python37-tools_3.7.17-32_arm64.deb
    sha:6031dcb29c1bf3d0d11d9e744e12a17085a0be9b
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.