Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-33056 on Ubuntu — cargo

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.

Distribution advisory

This page covers CVE-2026-33056 as tracked by Ubuntu, for the package cargo. The fix is available in version 0.10.11-1ubuntu1.1; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: Required — someone has to click, open or visit something.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: None.

Weakness class

UBUNTU-CVE-2026-33056 is classified as CWE-61: UNIX Symbolic Link (Symlink) Following. The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere.

Affected software

UBUNTU-CVE-2026-33056 is recorded against 21 packages.

  • cargo
  • rust-astral-tokio-tar
  • rust-async-tar
  • rust-cargo-c (fixed in 0.10.11-1ubuntu1.1)
  • rust-tar (fixed in 0.4.43-4ubuntu0.1)
  • rustc (fixed in 1.75.0+dfsg0ubuntu1-0ubuntu7.4)
  • rustc-1.62 (fixed in 1.62.1+dfsg1-1ubuntu0.22.04.3)
  • rustc-1.74 (fixed in 1.74.1+dfsg0ubuntu1-0ubuntu15)
  • rustc-1.76 (fixed in 1.76.0+dfsg0ubuntu1-0ubuntu0.24.04.2)
  • rustc-1.77 (fixed in 1.77.2+dfsg1ubuntu1-0ubuntu0.24.04.1)
  • rustc-1.78 (fixed in 1.78.0+dfsg1ubuntu1-0ubuntu0.24.04.2)
  • rustc-1.79 (fixed in 1.79.0+dfsg1ubuntu1-0ubuntu0.24.04.1)
  • rustc-1.80 (fixed in 1.80.1+dfsg0ubuntu1-0ubuntu0.24.04.01)
  • rustc-1.81 (fixed in 1.81.0+dfsg0ubuntu1-0ubuntu0.24.04.1)
  • rustc-1.82 (fixed in 1.82.0+dfsg0ubuntu0-0ubuntu0.24.04.1)
  • rustc-1.83 (fixed in 1.83.0+dfsg0ubuntu1~bpo2-0ubuntu0.24.04.1)
  • rustc-1.84 (fixed in 1.84.1+dfsg0ubuntu1~bpo2-0ubuntu2.24.04.1)
  • rustc-1.85 (fixed in 1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1)
  • rustc-1.88 (fixed in 1.88.0+dfsg0ubuntu1-0ubuntu2)
  • rustc-1.89 (fixed in 1.89.0+dfsg~24.04-0ubuntu0.24.04.2)
  • rustc-1.91 (fixed in 1.91.1+dfsg~24.04-0ubuntu0.24.04.2)

Timeline and source

Published on 20 March 2026 and last revised on 20 May 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
github.com (Report)
github.com (Report)
ubuntu.com (Advisory)
ubuntu.com (Advisory)
ubuntu.com (Advisory)

Other advisories for this package

cargo has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-61: UNIX Symbolic Link (Symlink) Following) in other software:

CVE-2026-33056 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-03-20
Updated 2026-08-20
Modified 2026-05-20
Fix URL N/A

Affected Packages

Software From version Fixed in
cargo — —
rust-astral-tokio-tar — —
rust-async-tar — —
rust-cargo-c — 0.10.11-1ubuntu1.1
rust-tar — 0.4.43-4ubuntu0.1
rustc — 1.75.0+dfsg0ubuntu1-0ubuntu7.4
rustc-1.62 — 1.62.1+dfsg1-1ubuntu0.22.04.3
rustc-1.74 — 1.74.1+dfsg0ubuntu1-0ubuntu15
rustc-1.76 — 1.76.0+dfsg0ubuntu1-0ubuntu0.24.04.2
rustc-1.77 — 1.77.2+dfsg1ubuntu1-0ubuntu0.24.04.1
rustc-1.78 — 1.78.0+dfsg1ubuntu1-0ubuntu0.24.04.2
rustc-1.79 — 1.79.0+dfsg1ubuntu1-0ubuntu0.24.04.1
rustc-1.80 — 1.80.1+dfsg0ubuntu1-0ubuntu0.24.04.01
rustc-1.81 — 1.81.0+dfsg0ubuntu1-0ubuntu0.24.04.1
rustc-1.82 — 1.82.0+dfsg0ubuntu0-0ubuntu0.24.04.1
rustc-1.83 — 1.83.0+dfsg0ubuntu1~bpo2-0ubuntu0.24.04.1
rustc-1.84 — 1.84.1+dfsg0ubuntu1~bpo2-0ubuntu2.24.04.1
rustc-1.85 — 1.85.1+dfsg0ubuntu2-0ubuntu1.25.04.1
rustc-1.88 — 1.88.0+dfsg0ubuntu1-0ubuntu2
rustc-1.89 — 1.89.0+dfsg~24.04-0ubuntu0.24.04.2
rustc-1.91 — 1.91.1+dfsg~24.04-0ubuntu0.24.04.2

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in cargo

UBUNTU-CVE-2026-33056 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2026
✓