Skip to content
Threat Feed
high advisory

Arbitrary File Write Vulnerability in sos clean

A path traversal vulnerability in the sos clean utility allows local attackers to create or overwrite arbitrary system files during tar archive extraction with root privileges.

CVE search metadata

CVE search record: CVE-2026-79655. Severity: high. CVSS: 7.8. KEV: no. Product: sos. Brief: Arbitrary File Write Vulnerability in sos clean. Brief link: https://feed.craftedsignal.io/briefs/2026-08-sos-clean-traversal/

The sos package, commonly used on Linux systems for gathering diagnostic information, contains a security flaw in the 'sos clean' utility identified as CVE-2026-79655. This utility is designed to sanitize collected data but fails to properly validate symlink and hardlink targets when processing tar archives. A local attacker can craft a malicious archive that, when processed by the utility, triggers a path traversal condition. Because 'sos clean' is frequently executed with root privileges to access protected system files, successful exploitation allows the attacker to overwrite sensitive configuration files, binary executables, or system credentials. This flaw enables local privilege escalation and persistent code execution by allowing an attacker to place malicious files in locations such as /etc/ or /usr/bin/ at the discretion of the attacker.

Impact

Successful exploitation results in full system compromise via local privilege escalation. Since the utility operates with elevated privileges, an attacker can modify critical system files, potentially leading to unauthorized access, installation of backdoors, or system instability. This affects all Linux distributions utilizing the sos package for diagnostic reporting and log collection.

Recommendation

Prioritize the identification of systems running affected versions of the sos package. Apply available security patches from distribution maintainers immediately to remediate CVE-2026-79655. If patching is not immediately feasible, restrict the ability of unauthorized local users to execute the 'sos clean' utility on sensitive systems. Monitor system logs for unexpected file write operations occurring in critical system directories originating from the 'sos' process context.


Immediate actions

Audit systems for installed sos package versions.

IT Operations 24h

Mitigations

Patch the sos package to the latest version provided by the distribution vendor.

immediate IT Operations

CVE-2026-79655