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

exploitDog

redhat логотип

CVE-2026-70622

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

Описание

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.

A flaw was found in tar-rs. This vulnerability, a symlink escape, allows a local attacker to read sensitive files outside of the intended directory. By planting specially crafted symbolic links in an untrusted directory, an attacker can trick a privileged process, when archiving that directory, into including arbitrary files from the system. This leads to the disclosure of potentially confidential information to the attacker.

Отчет

This flaw has a Moderate impact. tar-rs (the Rust tar crate) from 0.4.11 through 0.4.46 follows symlinks in Builder::append_dir_all() when creating an archive, so a privileged process that archives an attacker-controlled directory can be tricked into including files from outside the source root, disclosing them to the attacker. Exploitation requires a privileged process to invoke the archive-creation (write) path - append_dir_all/append_dir/append_path with symlink-following enabled - over an untrusted, attacker-writable directory; the extraction/read path, archivers that operate only on trusted or process-generated content, and callers that set follow_symlinks(false) are not affected. Across Red Hat's offerings only OpenShift Update Service (Cincinnati) exercises this pattern - it archives directories extracted from externally-sourced graph-data tarballs and pulled image layers - and is marked affected. All other Red Hat products that bundle the Rust tar crate were reviewed via deep-check and found not affected: they use the crate only at build time, only on the extraction/read path, only over trusted/process-generated content, or with symlink following disabled.

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

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

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

ПлатформаПакетСостояниеРекомендацияРелиз
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Affected
Confidential Compute Attestationagent-sandbox/agent-sandbox-routerNot affected
OpenShift Lightspeedopenshift-lightspeed/lightspeed-to-dataverse-exporter-rhel9Will not fix
Pen Drive Powered by Red Hat Lightspeedpen-drive/pen-drive-scanner-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-26/hub-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-27/hub-rhel9Not affected
Red Hat Ansible Automation Platform Ansible Core 2ansible-automation-platform/ee-minimal-rhel8Not affected
Red Hat Ansible Automation Platform Ansible Core 2ansible-automation-platform-tech-preview/ee-minimal-rhel8Not affected

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

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

Статус:

Moderate
Дефект:
CWE-22
https://bugzilla.redhat.com/show_bug.cgi?id=2513575tar: tar-rs: Information Disclosure via Symlink Escape

EPSS

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

6.5 Medium

CVSS3

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

CVSS3: 6.5
ubuntu
3 месяца назад

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.

CVSS3: 6.5
nvd
3 месяца назад

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.

CVSS3: 6.5
msrc
3 месяца назад

tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()

CVSS3: 6.5
debian
3 месяца назад

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnera ...

CVSS3: 6.5
github
3 месяца назад

tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker.

EPSS

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

6.5 Medium

CVSS3