cve.bz

CVE-2026-70622 composefs tar-rs: Link Following

7.1 highEPSS 0.5%

High (7.1) in composefs tar-rs. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

7.1 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-08-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-70622 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-70622?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-70622?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-70622 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
composefs tar-rsfrom 0.4.11 through 0.4.46

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rust-tarno fix listedDEBIAN-CVE-2026-70622
Ubuntu24.04:LTS, 26.04:LTS, 26.10 and 2 morerust-tarno fix listedUBUNTU-CVE-2026-70622
Azure Linux3clamavno fix listedAZL-95592
Azure Linux3kata-containersno fix listedAZL-95604
Azure Linux3kata-containers-ccno fix listedAZL-95607
Azure Linux3rpm-ostreeno fix listedAZL-95625
Azure Linux3rust1.75.0-30AZL-95628
Azure Linux3rust1.96.0-1AZL-95631
Azure Linux3tardev-snapshotterno fix listedAZL-95589
Azure Linux3tridentno fix listedAZL-95655

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

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.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
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
Red Hat Discovery 2discovery/discovery-server-rhel9Not affected
Red Hat Enterprise Linux 10bootcAffected
Red Hat Enterprise Linux 10gooseNot affected
Red Hat Enterprise Linux 10igvmAffected
Red Hat Enterprise Linux 10libkrunNot affected
Red Hat Enterprise Linux 10mesaNot affected
Red Hat Enterprise Linux 10rpm-ostreeAffected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10trusteeNot affected
Red Hat Enterprise Linux 10virt-firmware-rsNot affected
34 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-70622.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON