Rust advisories / astral-tokio-tar
Vulnerability MediumRUSTSEC-2026-0066 · astral-tokio-tar
RUSTSEC-2026-0066: Insufficient validation of PAX extensions during extraction
Short answerA security vulnerability in the astral-tokio-tar crate: Insufficient validation of PAX extensions during extraction. GitHub rates it Medium. Fixed in 0.6.0: update to a fixed version.
| Crate | astral-tokio-tar |
|---|---|
| Type | Vulnerability |
| Affected versions | Before 0.6.0. |
| Fixed in | 0.6.0 |
| Severity | Medium (GitHub rating) CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
| Published | 2026-03-17 |
| Last changed | 2026-03-23 |
| Also known as | CVE-2026-32766, GHSA-6gx3-4362-rf54 |
What to do
- See which version you have:
cargo tree -i astral-tokio-tar(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p astral-tokio-tar. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleastral-tokio-tar = "0.6.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
In versions 0.5.6 and earlier of astral-tokio-tar, malformed PAX extensions were silently skipped when parsing tar archives. This silent skipping (rather than rejection) of invalid PAX extensions could be used as a building block for a parser differential, for example by silently skipping a malformed GNU "long link" extension so that a subsequent parser would misinterpret the extension.
In practice, exploiting this behavior in astral-tokio-tar requires a secondary misbehaving tar parser, i.e. one that insufficiently validates malformed PAX extensions and interprets them rather than skipping or erroring on them. This vulnerability is considered low-severity as it requires a separate vulnerability against any unrelated tar parser.
This issue has been fixed in version 0.6.0.
References
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for astral-tokio-tar
- Vulnerability HighRUSTSEC-2025-0110 · 2025-10-21astral-tokio-tar Vulnerable to PAX Header Desynchronization
- VulnerabilityRUSTSEC-2026-0112 · 2026-04-27PAX Header Desynchronization in astral-tokio-tar
- VulnerabilityRUSTSEC-2026-0113 · 2026-04-27`unpack_in` can chmod arbitrary directories by following symlinks
- VulnerabilityRUSTSEC-2026-0145 · 2026-05-18PAX Header Desynchronization in astral-tokio-tar
- VulnerabilityGHSA-3wgq-wrwc-vqmv · 2025-09-23astral-tokio-tar has a path traversal in tar extraction
Up next
Same crateastral-tokio-tar: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?