Skip to main content
CVE-2026-70622VulnerabilityPublished Updated

Rust tar: tar-rs versions 0.4.11 through 0.4.46 contain a symlink escape vulnerability in the

Affects rust-tarSource GCVE Database

0
Compare
Authoritative record:CVE-2026-70622· High 7.1

Not known to be exploited · CVSS 7.1 High.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10rust-tarpkg:deb/ubuntu/rust-tar?arch=source&distro=stonkingOther threatsAffected
  • =0.4.45-1
  • =0.4.45-2
Fixed in–
Ubuntu 26.04 LTSrust-tarpkg:deb/ubuntu/rust-tar?arch=source&distro=resoluteOther threatsAffected
  • =0.4.43-4
  • =0.4.44-1
  • =0.4.45-1
Fixed in–
Ubuntu 24.04 LTSrust-tarpkg:deb/ubuntu/rust-tar?arch=source&distro=nobleOther threatsAffected
  • =0.4.38-2
  • =0.4.40-1
  • =0.4.40-1ubuntu0.1
Fixed in–
Ubuntu Pro 22.04 LTSrust-tarpkg:deb/ubuntu/rust-tar?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 0.4.26-1 – 0.4.37-3ubuntu0.1~esm1
6 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSrust-tarpkg:deb/ubuntu/rust-tar?arch=source&distro=esm-infra/focalOther threatsAffected
  • =0.4.26-1
  • =0.4.26-1ubuntu0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…