{"id":"CVE-2026-70622","published":"2026-08-10T17:35:23Z","modified":"2026-08-11T02:01:40Z","title":"tar-rs 0.4.11 - 0.4.46 Symlink Escape via append_dir_all()","vendor":"composefs","product":"tar-rs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0046,"percentile":0.40747,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://gist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726","tags":["technical-description","exploit"]},{"url":"https://www.vulncheck.com/advisories/tar-rs-symlink-escape-via-append-dir-all","tags":["third-party-advisory"]}],"priority":{"score":17.7,"factors":[{"name":"EPSS percentile","points":8.15},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"composefs","affectedVersions":[{"vendor":"composefs","product":"tar-rs","versions":[">= 0.4.11, <= 0.4.46"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-11T02:01:30.283306Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-55682","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/thesmartshadow/e7dac0bb690ee17b9cc142154cb11726"]}