Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-114583

Опубликовано: 22 окт. 2026
Источник: redhat
CVSS3: 6.2
EPSS Низкий

Описание

tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.

A flaw was found in Python's tarfile.tar_filter. Crafted link entries in a tar archive, including symlinks with empty or directory-like names, can redirect later archive members outside the intended extraction directory. An application that extracts an untrusted archive with the tar filter could write or overwrite files outside that directory with the permissions of the extracting process.

Отчет

Red Hat rates this vulnerability as Moderate. Exploitation requires an application or user to extract a crafted, untrusted tar archive using Python's tar extraction filter. Successful exploitation can write or overwrite files outside the chosen extraction directory. The files that can be changed, and the resulting impact, depend on the permissions of the extracting process; privileged or automated extraction may increase the impact.

Меры по смягчению последствий

Until a fixed Python build is available, avoid extracting untrusted tar archives with the tar extraction filter. If untrusted archives must be processed, perform extraction in an isolated, least-privileged environment with access only to files that may safely be written.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10python3.12Fix deferred
Red Hat Enterprise Linux 10python3.14Fix deferred
Red Hat Enterprise Linux 6pythonOut of support scope
Red Hat Enterprise Linux 7pythonFix deferred
Red Hat Enterprise Linux 7python3Fix deferred
Red Hat Enterprise Linux 8python3.12Fix deferred
Red Hat Enterprise Linux 8python36:3.6/python36Fix deferred
Red Hat Enterprise Linux 9python3.12Fix deferred
Red Hat Enterprise Linux 9python3.14Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3rhelai3/bootc-aws-cuda-rhel9Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-59
https://bugzilla.redhat.com/show_bug.cgi?id=2559388python: python: Arbitrary file write via tarfile extraction filter bypass

EPSS

Процентиль: 18%
0.00261
Низкий

6.2 Medium

CVSS3

Связанные уязвимости

ubuntu
27 дней назад

tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.

nvd
27 дней назад

tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.

msrc
25 дней назад

tar filter allows writing outside destination via empty-named symlink

debian
27 дней назад

tarfile.tar_filter could be bypassed using crafted link entries, inclu ...

github
27 дней назад

tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter="tar" to write files outside the destination directory, subject to the permissions of the extracting process. This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.

EPSS

Процентиль: 18%
0.00261
Низкий

6.2 Medium

CVSS3