RUSTSEC-2026-0113

Source
https://rustsec.org/advisories/RUSTSEC-2026-0113
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0113.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2026-0113
Aliases
Published
2026-04-27T12:00:00Z
Modified
2026-04-28T13:30:08.277501Z
Summary
`unpack_in` can chmod arbitrary directories by following symlinks
Details

In versions 0.6.0 and earlier of astral-tokio-tar, the unpack_in API could inadvertently modify the permissions of external (i.e. non-archive) directories outside of the archive. An attacker could use this to contrite a tar archive that maliciously changes directory permissions outside of its intended hierarchy. This flaw only affects directories; individual file permissions cannot be modified via it.

See GHSA-j4xf-2g29-59ph for the equivalent flaw in the tar crate.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / astral-tokio-tar

Package

Name
astral-tokio-tar
View open source insights on deps.dev
Purl
pkg:cargo/astral-tokio-tar

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.6.1

Ecosystem specific

{
    "affects": {
        "arch": [],
        "functions": [],
        "os": []
    },
    "affected_functions": null
}

Database specific

informational
null
cvss
null
categories
[
    "file-disclosure"
]
source
"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0113.json"