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

exploitDog

redhat логотип

CVE-2026-17106

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

Описание

The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer helpers) do not confine filesystem operations to the destination directory. The extractor decides where each archive entry lands using lexical string checks and then performs the filesystem operation on a path that is resolved by the OS, so links introduced by the archive can be followed out of the destination directory. An attacker who controls the contents of an archive can create or overwrite files at arbitrary paths writable by the extracting process.

A flaw was found in moby/go-archive. The tar extraction routines in the component do not properly restrict filesystem operations to the intended destination directory. An attacker who controls the contents of an archive can exploit this by including symbolic links, allowing them to create or overwrite files at arbitrary locations on the system where the archive is being extracted. This could lead to unauthorized modification of system files or potentially arbitrary code execution.

Отчет

This Important severity vulnerability in moby/go-archive allows for arbitrary file writes during tar extraction. An attacker providing a specially crafted tar archive can exploit symlink following to create or overwrite files outside the intended directory, potentially leading to system compromise in environments processing untrusted archives, such as container build systems.

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

To mitigate this issue, avoid processing tar archives from untrusted sources. When handling archives from potentially untrusted origins, ensure that the extraction process is executed with the least privileges necessary to limit the impact of any arbitrary file write attempts.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorNot affected
Cryostat 4cryostat/cryostat-storage-rhel9Not affected
DPU kit for NVIDIAdpu-kit-for-nvidia/must-gather-rhel10Affected
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-must-gather-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-agent-rhel8Will not fix
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-agent-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel8Will not fix
Multicluster Engine for Kubernetesmulticluster-engine/assisted-installer-controller-rhel9Affected

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

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

Статус:

Important
Дефект:
CWE-59
https://bugzilla.redhat.com/show_bug.cgi?id=2518147github.com/moby/go-archive: moby/go-archive: Arbitrary file write via link following in tar extraction

EPSS

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

7.8 High

CVSS3

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

ubuntu
3 месяца назад

The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer helpers) do not confine filesystem operations to the destination directory. The extractor decides where each archive entry lands using lexical string checks and then performs the filesystem operation on a path that is resolved by the OS, so links introduced by the archive can be followed out of the destination directory. An attacker who controls the contents of an archive can create or overwrite files at arbitrary paths writable by the extracting process.

nvd
3 месяца назад

The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer helpers) do not confine filesystem operations to the destination directory. The extractor decides where each archive entry lands using lexical string checks and then performs the filesystem operation on a path that is resolved by the OS, so links introduced by the archive can be followed out of the destination directory. An attacker who controls the contents of an archive can create or overwrite files at arbitrary paths writable by the extracting process.

msrc
3 месяца назад

Tar extraction in moby/go-archive can write outside the destination directory via link following

debian
3 месяца назад

The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, U ...

suse-cvrf
3 месяца назад

Security update for apptainer

EPSS

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

7.8 High

CVSS3