Red Hat Enterprise Linux
Sos: sos: path traversal in sos clean tar extraction via unvalidated symlink/hardlink targets leads to arbitrary file write
A flaw was found in sos clean, a utility within the sos package. This vulnerability allows a local attacker to perform arbitrary file creation or overwrite. By crafting a malicious tar archive, an attacker can exploit a path traversal issue during tar extraction, where symlink and hardlink targets are not properly validated. This enables the attacker to write files to arbitrary locations on the system with the privileges of the sos clean process, which often runs as root.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:4.11.2-7.el10_3
Fixed in 0:4.11.2-6.el10_0.1
Fixed in 0:4.11.2-6.el10_2.1
Fixed in 0:4.11.2-6.el8_10
Fixed in 0:4.6.1-1.el8_4.3
Fixed in 0:4.6.1-1.el8_4.3
Fixed in 0:4.6.1-1.el8_6.3
Fixed in 0:4.6.1-1.el8_6.3
Fixed in 0:4.7.1-4.el8_8.3
Fixed in 0:4.7.1-4.el8_8.3
Fixed in 0:4.11.2-7.el9_9
Fixed in 0:4.11.2-6.el9_2.1
Fixed in 0:4.11.2-6.el9_4.1
Fixed in 0:4.11.2-6.el9_6.1
Fixed in 0:4.11.2-6.el9_8.1
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:4.11.2-7.el10_3 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:4.11.2-6.el10_0.1 or later.
Upgrade Red Hat Enterprise Linux 10.2 Extended Update Support to 0:4.11.2-6.el10_2.1 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:4.11.2-6.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:4.6.1-1.el8_4.3 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:4.6.1-1.el8_4.3 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:4.6.1-1.el8_6.3 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:4.6.1-1.el8_6.3 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:4.7.1-4.el8_8.3 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:4.7.1-4.el8_8.3 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:4.11.2-7.el9_9 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:4.11.2-6.el9_2.1 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:4.11.2-6.el9_4.1 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:4.11.2-6.el9_6.1 or later.
Upgrade Red Hat Enterprise Linux 9.8 Extended Update Support to 0:4.11.2-6.el9_8.1 or later.
Workaround
To mitigate this issue, avoid using the `sos clean` utility to extract tar archives from untrusted or unknown sources. This vulnerability requires user interaction to process a specially crafted archive.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:100735
- Vendor advisory access.redhat.com/errata/RHSA-2026:97867
- Vendor advisory access.redhat.com/errata/RHSA-2026:98076
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.