[CLSA-2026:1790208925] Fix CVE(s): CVE-2026-82049
Type:
security
Severity:
Important
Release date:
2026-09-24 00:15:36 UTC
Description:
* SECURITY UPDATE: tarfile 'data'/'tar' extraction filter bypass via a hard link to a symbolic link (CWE-59, link following). TarFile.makelink_with_filter() passed tarinfo._link_target straight to os.link(); link(2) does not follow symbolic links, so an archive storing a hard link whose target is an archived symlink got the *same symlink inode* materialised one directory shallower than the symlink the filter had validated. Its relative body then re-based outside the destination directory, and the chmod()/utime() that extraction performs on the newly created name followed the link onto the outside file, changing its permissions and modification time; its contents also became readable through the in-tree path. Reproduced on the patched 3.8.20 tree with a four-member archive ('x' regular decoy, 'sub/' directory, 'sub/link' -> '../x' symlink, 'escape' hard link to 'sub/link' with mode 0777 and mtime 946684800) extracted with filter='data': a file outside the destination went 0600 -> 0755, its mtime was rewritten to 946684800 and its contents were readable through dest/escape. After the fix the outside file is untouched and dest/escape is a genuine in-tree hard link to the extracted decoy. - debian/patches/CVE-2026-82049.patch: backport of cpython b8f23e307097552eaea2604383a12ab280520d0d (gh-157190, GH-157191, GH-157192), which resolves the hard-link source with os.path.realpath() before calling os.link(), plus its regression test test_sneaky_hardlink_relocation in Lib/test/test_tarfile.py. This one-liner is sufficient only because CVE-2026-11940 is already applied: it closes the variant where the archive carries a decoy at the symlink's in-destination target so os.path.exists() is true and os.link() runs, while the no-decoy variant skips os.link() entirely and is closed by the guard CVE-2026-11940.patch added to makelink_with_filter(). The two must not be separated. - CVE-2026-82049
CVEs fixed:
Updated packages:
  • alt-python38_3.8.20-29_amd64.deb
    sha:68c375747a4cc12a51aff5740e9feb491f7427b6
  • alt-python38-debug_3.8.20-29_amd64.deb
    sha:eac25becd3f5d110ce59671f17de4264d65d5196
  • alt-python38-devel_3.8.20-29_amd64.deb
    sha:3425597f068e782428f043a115f6eb02bffde763
  • alt-python38-idle_3.8.20-29_amd64.deb
    sha:56a65dfcedc202d7f7b934acc122462dec90859b
  • alt-python38-libs_3.8.20-29_amd64.deb
    sha:aba64a2a000a575f4eeba97a959e2a6e35f3a95d
  • alt-python38-test_3.8.20-29_amd64.deb
    sha:b4b8bd11df7419f776edbe33da653735e4881b47
  • alt-python38-tkinter_3.8.20-29_amd64.deb
    sha:2c35a18b6e866980b463abbd66e6af6784c888ed
Notes:
This page is generated automatically and has not been checked for errors. For clarification or corrections please contact the CloudLinux Packaging Team.