{"id":"CVE-2026-79655","aliases":["AZL-98211","DEBIAN-CVE-2026-79655","EUVD-2026-65492","GHSA-jhqm-m4j3-wqq2","UBUNTU-CVE-2026-79655"],"status":"published","title":"Sos: sos: path traversal in sos clean tar extraction via unvalidated symlink/hardlink targets leads to arbitrary file write","description":"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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00214,"percentile":0.11832,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-59"],"published":"2026-08-25T13:49:37Z","modified":"2026-11-11T08:36:31Z","fixes":[{"ecosystem":"Azure Linux:3","package":"sos","fixed_in":["4.6.1-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sos","fixed_in":["4.12.0-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:3","package":"sos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.1-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.10.0-1","4.10.0-1~bpo12+1","4.10.0-1~bpo13+1","4.10.1-1","4.10.1-1~bpo12+1","4.10.1-1~bpo13+1","4.10.2-1","4.10.2-1+really4.9.1-1~bpo12+1","4.10.2-1~bpo12+1","4.10.2-1~bpo13+1","4.11.0-1","4.11.1-1","4.11.1-2","4.11.1-2~bpo13+1","4.11.2-1","4.11.2-1~bpo13+1","4.12.0-1","4.12.0-1~bpo13+1","4.12.0-2","4.12.0-2~bpo13+1","4.12.1-1","4.9.1-1","4.9.2-1","4.9.2-2","4.9.2-3"]},{"source":"osv","ecosystem":"Debian:14","package":"sos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12.0-2"}]}],"versions":["4.10.0-1","4.10.0-1~bpo12+1","4.10.0-1~bpo13+1","4.10.1-1","4.10.1-1~bpo12+1","4.10.1-1~bpo13+1","4.10.2-1","4.10.2-1+really4.9.1-1~bpo12+1","4.10.2-1~bpo12+1","4.10.2-1~bpo13+1","4.11.0-1","4.11.1-1","4.11.1-2","4.11.1-2~bpo13+1","4.11.2-1","4.11.2-1~bpo13+1","4.12.0-1","4.12.0-1~bpo13+1","4.12.0-2~bpo13+1","4.9.1-1","4.9.2-1","4.9.2-2","4.9.2-3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"sosreport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0-1","3.1-1","3.1-1ubuntu1","3.1-1ubuntu2","3.1-1ubuntu2.1","3.1-1ubuntu2.2","3.4-1~ubuntu14.04.1","3.5-1~ubuntu14.04.2","3.5-1~ubuntu14.04.3","3.5-1~ubuntu14.04.3+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"sosreport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2-2ubuntu1","3.2+git276-g7da50d6-1","3.2+git276-g7da50d6-2","3.2+git276-g7da50d6-3","3.2+git276-g7da50d6-3build1","3.2+git276-g7da50d6-3ubuntu1","3.4-1~ubuntu16.04.1","3.5-1~ubuntu16.04.2","3.5-1~ubuntu16.04.3","3.6-1ubuntu0.16.04.2","3.6-1ubuntu0.16.04.3","3.6-1ubuntu0.16.04.4","3.9-1ubuntu0.16.04.1","3.9-1ubuntu0.16.04.2","3.9.1-1ubuntu0.16.04.1","3.9.1-1ubuntu0.16.04.2","3.9.1-1ubuntu0.16.04.2+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"sosreport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4-1","3.5-1","3.5-1ubuntu1","3.5-1ubuntu2","3.5-1ubuntu3","3.5-1ubuntu3.18.04.1","3.6-1ubuntu0.18.04.2","3.6-1ubuntu0.18.04.3","3.6-1ubuntu0.18.04.4","3.9-1ubuntu0.18.04.1","3.9-1ubuntu0.18.04.2","3.9-1ubuntu0.18.04.3","3.9.1-1ubuntu0.18.04.1","3.9.1-1ubuntu0.18.04.2","3.9.1-1ubuntu0.18.04.3","4.1-1ubuntu0.18.04.1","4.1-1ubuntu0.18.04.2","4.1-1ubuntu0.18.04.3","4.3-1ubuntu0.18.04.1","4.3-1ubuntu0.18.04.2","4.4-1ubuntu0.18.04.1","4.4-1ubuntu0.18.04.3","4.8.2-0ubuntu0~18.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"sosreport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6-1ubuntu3","3.8-1ubuntu1","3.8-1ubuntu2","3.8-1ubuntu3","3.9-1ubuntu1","3.9-1ubuntu2","3.9-1ubuntu2.1","3.9.1-1ubuntu0.20.04.1","3.9.1-1ubuntu0.20.04.2","4.0-1~ubuntu0.20.04.1","4.0-1~ubuntu0.20.04.2","4.0-1~ubuntu0.20.04.3","4.1-1ubuntu0.20.04.1","4.1-1ubuntu0.20.04.2","4.1-1ubuntu0.20.04.3","4.2-1ubuntu0.20.04.1","4.3-1ubuntu0.20.04.1","4.3-1ubuntu0.20.04.2","4.4-1ubuntu0.20.04.1","4.5.6-0ubuntu1~20.04.1","4.5.6-0ubuntu1~20.04.2","4.7.2-0ubuntu1~20.04.1","4.7.2-0ubuntu1~20.04.2","4.8.2-0ubuntu0~20.04.1","4.11.1-0ubuntu0.20.04.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"sosreport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1-1ubuntu2","4.1-1ubuntu3","4.2-1ubuntu2","4.3-1ubuntu1","4.3-1ubuntu2","4.3-1ubuntu2.1","4.4-1ubuntu1.22.04.1","4.5.6-0ubuntu1~22.04.1","4.5.6-0ubuntu1~22.04.2","4.7.2-0ubuntu1~22.04.1","4.7.2-0ubuntu1~22.04.2","4.8.2-0ubuntu0~22.04.1","4.8.2-0ubuntu0~22.04.2","4.9.2-0ubuntu0~22.04.1","4.10.2-0ubuntu0~22.04.1","4.11.2-0ubuntu0~22.04.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"sosreport","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.6-0ubuntu2","4.5.6-0ubuntu4","4.7.2-0ubuntu1~24.04.1","4.7.2-0ubuntu1~24.04.2","4.8.2-0ubuntu0~24.04.1","4.8.2-0ubuntu0~24.04.2","4.9.2-0ubuntu0~24.04.1","4.10.2-0ubuntu0~24.04.1","4.11.2-0ubuntu0~24.04.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"sos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.10.2-1","4.11.1-2","4.11.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"sos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.10.0-1","4.10.1-1","4.10.2-1","4.11.2-0ubuntu0.1"]}],"products":[{"vendor":"red hat","product":"red hat enterprise linux 10"},{"vendor":"red hat","product":"red hat enterprise linux 6"},{"vendor":"red hat","product":"red hat enterprise linux 7"},{"vendor":"red hat","product":"red hat enterprise linux 8"},{"vendor":"red hat","product":"red hat enterprise linux 9"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:97867","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:98076","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-79655","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2523363","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/sosreport/sos/issues/4460","tags":["exploit"]},{"url":"https://github.com/sosreport/sos/pull/4461"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79655","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jhqm-m4j3-wqq2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-79655","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-79655","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-79655","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-79655","title":"Sos: sos: path traversal in sos clean tar extraction via unvalidated symlink/hardlink targets leads to arbitrary file write","description":"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.","status":"published","published":"2026-08-25T13:49:37.593Z","modified":"2026-11-11T08:36:31.222Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-59"],"updated_at":"2026-11-11T09:25:46.087816Z"}],"euvd":[{"id":"EUVD-2026-65492","description":"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.","status":"published","published":"2026-08-25T13:49:37Z","modified":"2026-11-11T08:36:31Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-11T09:27:59.320136Z"}],"ghsa":[{"id":"GHSA-jhqm-m4j3-wqq2","title":"A flaw was found in sos clean, a utility within the sos package. This vulnerability allows a...","description":"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.","status":"published","published":"2026-08-25T15:32:59Z","modified":"2026-08-25T15:33:00Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-59"],"updated_at":"2026-11-02T15:10:57.434403Z"}],"nvd":[{"id":"CVE-2026-79655","description":"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.","status":"published","published":"2026-08-25T14:16:58.01Z","modified":"2026-11-10T23:18:28.35Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-59"],"updated_at":"2026-11-11T02:22:16.88059Z"}],"osv":[{"id":"DEBIAN-CVE-2026-79655","description":"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.","status":"published","published":"2026-08-25T14:16:58.01Z","modified":"2026-11-05T10:01:17.903998585Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-05T13:30:49.23793Z"},{"id":"UBUNTU-CVE-2026-79655","description":"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.","status":"published","published":"2026-08-25T14:16:00Z","modified":"2026-10-22T23:20:46.378911554Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:57:18.015985Z"},{"id":"AZL-98211","title":"CVE-2026-79655 affecting package sos for versions less than 4.6.1-3","description":"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.","status":"published","published":"2026-08-25T14:16:58Z","modified":"2026-11-05T05:40:51Z","updated_at":"2026-11-05T16:41:26.280152Z"}]}}
