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.
Versions 0.6.1 and newer of astral-tokio-tar address this differential.
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.
{
"github_reviewed": true,
"github_reviewed_at": "2026-05-06T17:26:12Z",
"cwe_ids": [
"CWE-20",
"CWE-843"
],
"severity": "MODERATE",
"nvd_published_at": null
}