Read the docs
TI-2025-28801 Aliases CVE-2025-45582GHSA-f93m-9mq4-2fjj

Path traversal in GNU Tar

Priority MEDIUM 52CWE-24Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Partial Red Hat: 10 fixed, 4 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a certain two-step process. First, the victim must extract an archive that contains a ../ symlink to a critical directory. Second, the victim must extract an archive that contains a critical file, specified via a relative pathname that begins with the symlink name and ends with that critical file's name. Here, the extraction follows the symlink and overwrites the critical file. This bypasses the protection mechanism of "Member name contains '..'" that would occur for a single TAR archive that attempted to specify the critical file via a ../ approach. For example, the first archive can contain "x -> ../../../../../home/victim/.ssh" and the second archive can contain x/authorized_keys. This can affect server applications that automatically extract any number of user-supplied TAR archives, and were relying on the blocking of traversal. This can also affect software installation processes in which "tar xf" is run more than once (e.g., when installing a package can automatically install two dependencies that are set up as untrusted tarballs instead of official packages). NOTE: the official GNU Tar manual has an otherwise-empty directory for each "tar xf" in its Security Rules of Thumb; however, third-party advice leads users to run "tar xf" more than once into the same directory.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0049 42nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial Red Hat: 10 advisoriesRed Hat: 10 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
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
GNUTarup to 1.35—No fix listedCNA
  • Tar VendorGNU Affected up to 1.35 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:*before 1.35VulnerableGNU
  • cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:* Versions before 1.35 Vulnerable ·GNU

Remediation

Red Hat 10 advisories

  • RHSA-2026:70390 Released 2026-09-22 · Red Hat rating Moderate
    tar security, bug fix, and enhancement update
    • Red Hat Enterprise Linux BaseOS (v. 8) tar-2:1.30-13.el8_10
  • RHSA-2026:1858 Released 2026-02-03 · Red Hat rating Important
    Red Hat Ceph Storage
    • Red Hat Ceph Storage 7 registry.redhat.io/rhceph/rhceph-7-rhel9
  • RHSA-2026:1652 Released 2026-02-02 · Red Hat rating Important
    Red Hat Ceph Storage
    • Red Hat Ceph Storage 8 registry.redhat.io/rhceph/rhceph-8-rhel9
Show 7 more Red Hat advisories
  • RHSA-2026:0685 Released 2026-01-15 · Red Hat rating Moderate
    Red Hat Update Infrastructure 5 security update
    • Red Hat Update Infrastructure 5 registry.redhat.io/rhui5/cds-rhel9, registry.redhat.io/rhui5/haproxy-rhel9, registry.redhat.io/rhui5/installer-rhel9 +1
  • RHSA-2026:0435 Released 2026-01-12 · Red Hat rating Moderate
    tar security update
    • Red Hat Enterprise Linux BaseOS EUS (v.9.6) tar-2:1.34-7.el9_6.2
  • RHSA-2026:0434 Released 2026-01-12 · Red Hat rating Moderate
    tar security update
    • Red Hat Enterprise Linux BaseOS EUS (v.9.4) tar-2:1.34-6.el9_4.3
  • RHSA-2026:0414 Released 2026-01-08 · Red Hat rating Important
    A Subscription Management tool for finding and reporting Red Hat product usage
    • Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9, registry.redhat.io/discovery/discovery-ui-rhel9
  • RHSA-2026:0135 Released 2026-01-06 · Red Hat rating Moderate
    tar security update
    • Red Hat Enterprise Linux BaseOS EUS (v. 10.0) tar-2:1.35-7.el10_0.2
  • RHSA-2026:0067 Released 2026-01-05 · Red Hat rating Moderate
    tar security update
    • Red Hat Enterprise Linux BaseOS (v. 9) tar-2:1.34-9.el9_7
  • RHSA-2026:0002 Released 2026-01-05 · Red Hat rating Moderate
    tar security update
    • Red Hat Enterprise Linux BaseOS (v. 10) tar-2:1.35-9.el10_1

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Fuse 7AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat Ceph Storage 7Fixed RHSA-2026:1858
Red Hat Ceph Storage 8Fixed RHSA-2026:1652
Red Hat Discovery 2Fixed RHSA-2026:0414
Red Hat Enterprise Linux BaseOS (v. 10)Fixed RHSA-2026:0002
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2026:70390
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2026:0067
Red Hat Enterprise Linux BaseOS EUS (v. 10.0)Fixed RHSA-2026:0135
Red Hat Enterprise Linux BaseOS EUS (v.9.4)Fixed RHSA-2026:0434
Red Hat Enterprise Linux BaseOS EUS (v.9.6)Fixed RHSA-2026:0435
Red Hat Update Infrastructure 5Fixed RHSA-2026:0685
Not affected: 4 products
  • Red Hat Ceph Storage 7
  • Red Hat Ceph Storage 8
  • Red Hat Enterprise Linux BaseOS EUS (v. 10.0)
  • Red Hat Enterprise Linux BaseOS EUS (v.9.6)

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-45582
  2. 2026-10-03 Alias added: GHSA-f93m-9mq4-2fjj

References

  • TI-2019-07294 pax_decode_header in sparse.c in GNU Tar before 1.32 had a NULL pointer dereference when… CVSS 3.1HIGH 7.5
  • TI-2016-05412 Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14… CVSS 3.1HIGH 7.5
  • TI-2022-23920 GNU Tar through 1.34 has a one-byte out-of-bounds read that results in use of… CVSS 3.1MEDIUM 5.5
  • TI-2005-02406 Tar 1.15.1 does not properly warn the user when extracting setuid or setgid files, which… CVSS 2.0HIGH 10.0
  • TI-2007-04334 Buffer overflow in the safer_name_suffix function in GNU tar has unspecified attack… CVSS 2.0HIGH 7.5
  • TI-2010-00595 Heap-based buffer overflow in the rmt_read__ function in lib/rtapelib.c in the rmt client… CVSS 2.0MEDIUM 6.8
See all 19 →

Sources