# cargo (crates.io) vulnerabilities

8 known vulnerabilities (1 high, 6 medium, 1 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://crates.io/crates/cargo

## Advisories (8)

### [CVE-2026-5223](https://cve.now/CVE-2026-5223): Crates in third party registries can override the cached source of other crates

- Severity: Medium 6.5
- Published: May 25, 2026
- Affected: from 1.0.0, fixed in 1.96.0; fixed in 0.97.0.

### [CVE-2026-5222](https://cve.now/CVE-2026-5222): Cargo can be coerced to share credentials between registries

- Severity: Low 2.3
- Published: May 25, 2026
- Affected: from 1.68.0, fixed in 1.96.0; fixed in 0.97.0.

### [CVE-2023-40030](https://cve.now/CVE-2023-40030): Malicious dependencies can inject arbitrary JavaScript into cargo-generated timing reports

- Severity: Medium 6.1
- Published: Aug 24, 2023
- Affected: from 1.60.0, fixed in 1.72.

### [CVE-2023-38497](https://cve.now/CVE-2023-38497): Cargo not respecting umask when extracting crate archives

- Severity: High 7.8
- Published: Aug 4, 2023
- Affected: fixed in 0.72.2.

### [CVE-2022-46176](https://cve.now/CVE-2022-46176): Cargo did not verify SSH host keys

- Severity: Medium 5.3
- Published: Jan 11, 2023
- Affected: fixed in 0.67.1.

### [CVE-2022-36114](https://cve.now/CVE-2022-36114): Extracting malicious crates can fill the file system

- Severity: Medium 4.8
- Published: Sep 14, 2022
- Affected: fixed in 0.65.0; from 0.66.0, fixed in 0.67.0.

### [CVE-2022-36113](https://cve.now/CVE-2022-36113): Extracting malicious crates can corrupt arbitrary files

- Severity: Medium 4.6
- Published: Sep 14, 2022
- Affected: fixed in 0.65.0; from 0.66.0, fixed in 0.67.0.

### [CVE-2019-16760](https://cve.now/CVE-2019-16760): Cargo prior to Rust 1.26.0 may download the wrong dependency

- Severity: Medium 4.6
- Published: Sep 30, 2019
- Affected: fixed in 0.27.0.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/cargo
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
