🛡️ GHSA-xx64-wwv2-hcqq — astral-tokio-tar

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-61 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

astral-tokio-tar: unpack_in can chmod arbitrary directories by following symlinks

Impact

In versions 0.6.0 and earlier of astral-tokio-tar, the unpack_in API could inadvertently modify the permissions of external (i.e. non-archive) directories outside of the archive. An attacker could use this to contrite a tar archive that maliciously changes directory permissions outside of its intended hierarchy. This flaw only affects directories; individual file permissions cannot be modified via it.

See GHSA-j4xf-2g29-59ph for the equivalent flaw in the tar crate.

Patches

Versions 0.6.1 and newer of astral-tokio-tar use fs::symlink_metdata rather than fs::metadata, avoiding the traversal.

Workarounds

Users are advised to upgrade to version 0.6.1 or newer to address this advisory.

Users should experience no breaking changes as a result of the patch above.

Resources

  • GHSA-j4xf-2g29-59ph for the original tar vulnerability

Attribution

  • Reporter: Adam Harvey (@lawngnome)

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity low, availability none.

Weakness class

GHSA-xx64-wwv2-hcqq is classified as CWE-61: UNIX Symbolic Link (Symlink) Following. The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere.

Affected software

GHSA-xx64-wwv2-hcqq is recorded against 1 package.

  • astral-tokio-tar

Timeline and source

Published on 6 May 2026 and last revised on 8 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Advisory)
github.com (Package)
rustsec.org (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
CWE CWE-61
Public Exploit ✅ No
Source OSV
Published 2026-05-06
Updated 2026-08-20
Modified 2026-05-08
Fix URL N/A

Affected Packages

Software From version Fixed in
astral-tokio-tar

Similar Threats

Free Vulnerability Check

Is your site affected by GHSA-xx64-wwv2-hcqq?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-xx64-wwv2-hcqq and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated