crates.io (Rust)Worst: High8 advisories

cargo: known vulnerabilities

cargo has 8 reviewed security advisories in the GitHub Advisory Database — 2 high, 3 moderate, 3 low. The most recent was published 2026-05-25. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the cargo versions running across your servers, containers and images, and ranks what to patch first.

How to fix cargo

Upgrade cargo to a release at or above the fixed version shown for each advisory below. For crates.io (Rust):

cargo update -p cargo --precise 0.97.0 (cargo audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (8)

Cargo crates in third party registries can override the cached source of other crates Moderate CWE-61 — Affected: before 0.97.0. Fixed in 0.97.0. Published 2026-05-25. GHSA-jq42-7mfv-hm57 · CVE-2026-5223
Cargo can be coerced to share credentials between registries Low CWE-647 — Affected: before 0.97.0. Fixed in 0.97.0. Published 2026-05-25. GHSA-p688-r7jv-fm6f · CVE-2026-5222
Malicious dependencies can inject arbitrary JavaScript into cargo-generated timing reports Low CWE-79 — Affected: from 1.60.0 up to 1.72. Fixed in 1.72. Published 2023-08-24. GHSA-wrrj-h57r-vx9p · CVE-2023-40030
Cargo not respecting umask when extracting crate archives High 7.9 CWE-278 CWE-732 — Affected: before 0.72.2. Fixed in 0.72.2. Published 2023-08-04. GHSA-j3xp-wfr4-hx87 · CVE-2023-38497
Cargo extracting malicious crates can fill the file system Moderate 4.2 CWE-400 — Affected: from 0.66.0 up to 0.67.0. Fixed in 0.67.0. Published 2022-09-14. GHSA-2hvr-h6gw-qrxp · CVE-2022-36114
Cargo extracting malicious crates can corrupt arbitrary files Low 3.9 CWE-22 CWE-59 — Affected: from 0.66.0 up to 0.67.0. Fixed in 0.67.0. Published 2022-09-14. GHSA-rfj2-q3h3-hm5j · CVE-2022-36113
Cargo prior to Rust 1.26.0 may download the wrong dependency High 7.5 CWE-494 — Affected: before 0.27.0. Fixed in 0.27.0. Published 2019-09-30. GHSA-9f3p-wvj7-q82x · CVE-2019-16760

Find cargo across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.