Read the docs
TI-2026-25499 Aliases CVE-2026-33056GHSA-j4xf-2g29-59ph

tar-rs: unpack_in can chmod arbitrary directories by following symlinks

Priority LOW 23CWE-61Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 21 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00394 33rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial tar-rs (alexcrichton): 0.4.45tar (crates.io): 0.4.45Red Hat: 21 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
alexcrichtontar-rsbefore 0.4.450.4.45Patch availableCNA
—tar (crates.io)before 0.4.450.4.45Patch availableGHSA-j4xf-2g29-59ph
  • tar-rs Vendoralexcrichton Affected before 0.4.45 Fixed in 0.4.45 Patch available CNA
  • tar (crates.io) Vendor— Affected before 0.4.45 Fixed in 0.4.45 Patch available GHSA-j4xf-2g29-59ph

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:tar_project:tar:*:*:*:*:*:rust:*:*before 0.4.45VulnerableTar Project
  • cpe:2.3:a:tar_project:tar:*:*:*:*:*:rust:*:* Versions before 0.4.45 Vulnerable ·Tar Project

Remediation

  • Fix · CNA tar-rs (alexcrichton) Fixed in 0.4.45
  • Fix · GHSA-j4xf-2g29-59ph tar (crates.io) Fixed in 0.4.45 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Confidential Compute AttestationAffectedNo fix yet: Fix deferred
Lightspeed CoreAffectedNo fix yet: Fix deferred
Logging Subsystem for Red Hat OpenShiftAffectedNo fix yet: Fix deferred
OpenShift LightspeedAffectedNo fix yet: Fix deferred
Pen Drive Powered by Red Hat LightspeedAffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform Ansible Core 2AffectedNo fix yet: Fix deferred
Red Hat Discovery 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat Offline Knowledge PortalAffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Update ServiceAffectedNo fix yet: Fix deferred
Red Hat Quay 3AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Red Hat Trusted Profile AnalyzerAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-33056
  2. 2026-10-03 Alias added: GHSA-j4xf-2g29-59ph

References

  • TI-2026-25498 tar-rs incorrectly ignores PAX size headers if header size is nonzero CVSS 4.0MEDIUM 5.1

Sources