{"id":"GHSA-fp55-jw48-c537","aliases":["GHSA-fp55-jw48-c537","RUSTSEC-2026-0112"],"related":[],"kind":"vulnerability","state":"published","title":"astral-tokio-tar is Vulnerable to PAX Header Desynchronization","summary":"### Impact\n\nVersions 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.\n\nSee GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar.\n\n### Patches\n\nVersions 0.6.1 and newer of astral-tokio-tar address this differential.\n\n### Workarounds\n\nUsers are advised to upgrade to version 0.6.1 or newer to address this advisory.\n\nThere is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade.\n\n### Resources\n\n- GHSA-j5gw-2vrg-8fgx is a similar PAX desynchronization bug\n\n### Attribution\n\n- Reporter: Adam Harvey (@lawngnome)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\n\nVersions 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.\n\nSee GHSA-j5gw-2vrg-8fgx for a similar desynchronization bug in astral-tokio-tar.\n\n### Patches\n\nVersions 0.6.1 and newer of astral-tokio-tar address this differential.\n\n### Workarounds\n\nUsers are advised to upgrade to version 0.6.1 or newer to address this advisory.\n\nThere is no workaround other than upgrading. Users should experience no breaking changes as a result of the upgrade.\n\n### Resources\n\n- GHSA-j5gw-2vrg-8fgx is a similar PAX desynchronization bug\n\n### Attribution\n\n- Reporter: Adam Harvey (@lawngnome)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Versions of astral-tokio-tar prior to 0.6.1 contain a PAX header interpretation\nbug that allows manipulated entries to be made selectively visible or invisible\nduring extraction with astral-tokio-tar versus other tar implementations.\nAn attacker could use this differential to smuggle unexpected files onto a\nvictim's filesystem.","format":"markdown","source":"rustsec"}],"published":"2026-04-27T12:00:00.000Z","modified":"2026-10-12T18:00:08.226Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-20","CWE-843"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"astral-tokio-tar","purl":"pkg:cargo/astral-tokio-tar","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"astral-tokio-tar","purl":"pkg:cargo/astral-tokio-tar","source":"rustsec"}],"references":[{"url":"https://github.com/astral-sh/tokio-tar/security/advisories/GHSA-fp55-jw48-c537","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-fp55-jw48-c537","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/astral-sh/tokio-tar","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0112.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/astral-tokio-tar","tags":["package"],"sources":["rustsec"]},{"url":"https://github.com/astral-sh/tokio-tar/commit/6f4f9ebc180f4d39d66d9c584a3796c0b9ae34c1","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fp55-jw48-c537","url":"https://github.com/advisories/GHSA-fp55-jw48-c537","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:46.705Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0112","url":"https://rustsec.org/advisories/RUSTSEC-2026-0112.html","licence":"CC0-1.0","modified":"2026-10-12T18:00:08.226Z"}],"updatedAt":"2026-11-25T22:56:43.342Z"}