astral-tokio-tar insufficiently validates PAX extensions during extraction
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
astral-tokio-tar is a tar archive reading/writing library for async Rust. In versions 0.5.6 and earlier, 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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| astral-sh | tokio-tar | before 0.6.0 | 0.6.0 | Patch available | CNA |
| — | astral-tokio-tar (crates.io) | before 0.6.0 | 0.6.0 | Patch available | GHSA-6gx3-4362-rf54 |
- tokio-tar Vendorastral-sh Affected before 0.6.0 Fixed in 0.6.0 Patch available CNA
- astral-tokio-tar (crates.io) Vendor— Affected before 0.6.0 Fixed in 0.6.0 Patch available GHSA-6gx3-4362-rf54
Remediation
- Fix · CNA tokio-tar (astral-sh) Fixed in 0.6.0
- Fix · GHSA-6gx3-4362-rf54 astral-tokio-tar (crates.io) Fixed in 0.6.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Confidential Compute Attestation | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32766
- 2026-10-03 Alias added: GHSA-6gx3-4362-rf54
References
Advisory 2
More astral-sh vulnerabilities
- TI-2025-38758 astral-tokio-tar Vulnerable to PAX Header Desynchronization CVSS 3.1HIGH 8.1
- TI-2026-78723 Path traversal in Astral uv lets attackers delete arbitrary files CVSS 4.0HIGH 8.7
- TI-2025-43946 Path traversal in Astral uv sdist extraction allows file writes CVSS 4.0HIGH 8.7
- TI-2026-78722 Path traversal in uv lets malicious wheels write files CVSS 4.0HIGH 8.7
- TI-2025-34180 uv is vulnerable to ZIP payload obfuscation through parsing differentials CVSS 4.0MEDIUM 6.8
- TI-2026-66129 uv: Path traversal on Windows through wheel extraction CVSS 4.0MEDIUM 5.9
Sources
- CVE-2026-32766 · CVE Program
- CVE-2026-32766 · NVD
- FIRST EPSS
- GHSA-6gx3-4362-rf54 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-32766 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences