{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-70622","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-08-04T20:17:18.296Z","datePublished":"2026-08-10T17:35:23.683Z","dateUpdated":"2026-08-11T02:01:40.553Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-08-10T17:35:23.683Z"},"title":"tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()","descriptions":[{"lang":"en","value":"tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the Builder::append_dir_all() function that allows attackers to read files outside the intended source root directory by planting symlinks in an attacker-controlled directory. When a privileged process archives an untrusted directory, the function follows symlinks without verifying that resolved targets remain within the source root, causing out-of-bounds files to be included in the archive as regular files and disclosed to the attacker."}],"tags":["x_open-source"],"datePublic":"2026-08-07T00:00:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-59","description":"Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"affected":[{"defaultStatus":"affected","vendor":"composefs","product":"tar-rs","packageURL":"pkg:github/composefs/tar-rs","repo":"https://github.com/composefs/tar-rs","versions":[{"status":"affected","version":"0.4.11","versionType":"semver","lessThanOrEqual":"0.4.46"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","version":"3.1","baseSeverity":"MEDIUM","baseScore":6.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}}],"references":[{"url":"https://gist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726","name":"Researcher Disclosure","tags":["technical-description","exploit"]},{"url":"https://www.vulncheck.com/advisories/tar-rs-symlink-escape-via-append-dir-all","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Ali Firas (thesmartshadow)","type":"finder"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"vulncheck"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-11T02:01:30.283306Z","id":"CVE-2026-70622","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-11T02:01:40.553Z"}}]}}