CVE-2026-42795: Tarball Absolute Path Append

Appending an absolute path directly to a tarball archive can leak local directory structures or cause arbitrary file overwrites when extracted. Ensure paths are relative by stripping root prefixes before archiving.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Rust
greprules fetch cve-2026-42795-tarball-absolute-path-append --engine opengrep

Description

Appending an absolute path directly to a tarball archive can leak local directory structures or cause arbitrary file overwrites when extracted. Ensure paths are relative by stripping root prefixes before archiving.