RUSTSEC-2026-0112
MEDIUMastral-tokio-tar is Vulnerable to PAX Header Desynchronization
Impact
Versions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation bug that allows manipulated entries to be made selectively visible or invisible during extraction with astral-tokio-tar versus other tar implementations. An attacker could use this differential to smuggle unexpected files onto a victim's filesystem.
See GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar.
Patches
Versions 0.6.1 and newer of astral-tokio-tar address this differential.
Workarounds
Users are advised to upgrade to version 0.6.1 or newer to address this advisory.
There is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade.
Resources
- GHSA-j5gw-2vrg-8fgx is a similar PAX desynchronization bug
Attribution
- Reporter: Adam Harvey (@lawngnome)
- Published
- 27 Apr 2026
- Last modified
- 12 Oct 2026
- Weakness
- CWE-20CWE-843
- Also known as
- GHSA-fp55-jw48-c537
- Sources
- OSV GHSA-fp55-jw48-c537JSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | astral-tokio-tar | < 0.6.1 | 0.6.1 |
| OSV | crates.io | astral-tokio-tar | >= 0.0.0-0, < 0.6.1 | 0.6.1 |
References
- https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-fp55-jw48-c537 · WEB
- https://github.com/advisories/GHSA-fp55-jw48-c537 · ADVISORY
- https://github.com/astral-sh/tokio-tar · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0112.html · WEB, ADVISORY
- https://crates.io/crates/astral-tokio-tar · PACKAGE
- https://github.com/astral-sh/tokio-tar/commit/6f4f9ebc180f4d39d66d9c584a3796c0b9ae34c1 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 May 2026)