Symlink Attack Affecting astral-tokio-tar package, versions <0.6.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-ASTRALTOKIOTAR-16318358
  • published28 Apr 2026
  • disclosed27 Apr 2026
  • creditLawnGnome

Introduced: 27 Apr 2026

New CVE NOT AVAILABLE CWE-59  (opens in a new tab)

How to fix?

Upgrade astral-tokio-tar to version 0.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack via the unpack_in function. An attacker can modify permissions of directories outside the intended extraction hierarchy by crafting a malicious tar archive containing symlinks that point to external directories.

CVSS Base Scores

version 4.0
version 3.1