[CLSA-2026:1790192097] Fix CVE(s): CVE-2026-82049
Type:
security
Severity:
Important
Release date:
2026-09-23 19:35:11 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.6. - 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-python36_3.6.15-47_amd64.deb
    sha:9d31b7e0fa8ed06d848b3db16d62e91e4b82ac24
  • alt-python36-debug_3.6.15-47_amd64.deb
    sha:61cebfa7bcd7af3109b560503b0c11a1d8641f82
  • alt-python36-devel_3.6.15-47_amd64.deb
    sha:6b23cbfcf6e4b4f8d5fbe7fdbf0b303090cc997d
  • alt-python36-libs_3.6.15-47_amd64.deb
    sha:2c9f3af02da690fb2e5d04621e889f44c8806453
  • alt-python36-test_3.6.15-47_amd64.deb
    sha:36e59010432040c37439f90ef2c15d74999bdced
  • alt-python36-tkinter_3.6.15-47_amd64.deb
    sha:817e992353b7bb1cbaf932b2d2a1533ede238b0f
  • alt-python36-tools_3.6.15-47_amd64.deb
    sha:dd9d9f2b01737034470fe92024ef65aee78d0032
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.