BreachSpiderVerified, not vibes

CVE-2026-5223 in Rust-Lang Cargo

Medium 5.3

Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is **medium** for users of third-party registries. Users of crates.io are **not affecte...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.3
CVSS v46.5
EPSS0.4%
EPSS percentile27th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Rust-Lang Cargo < 1.96.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is **medium** for users of third-party registries. Users of crates.io are **not affected**, as crates.io forbids uploading crates containing any symlink.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-5223
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published2026-05-25
Last modified2026-07-23
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-61: CWE-61

Related attack patterns (CAPEC)

CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-61

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A low severity vulnerability affects Unknown vendor systems (CVE-2026-5223). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

Vulnerability details: Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another crate from the same registry. The severity of the vulnerability is **medium** for users of third-party registries. Users of crates.io are **not affected**, as crates.io forbids uploading crates containing any symlink. CVSS vector: Not available.

Questions

What is CVE-2026-5223?

A low severity vulnerability affects Unknown vendor systems (CVE-2026-5223). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

What is the CVSS score for CVE-2026-5223?

CVE-2026-5223 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.4%.

Is CVE-2026-5223 actively exploited?

No confirmed active exploitation of CVE-2026-5223 as of 2026-09-25.

How do I remediate CVE-2026-5223?

Priority: MONITOR. Advisory: https://blog.rust-lang.org/2026/05/25/cve-2026-5223/

What systems are affected by CVE-2026-5223?

CVE-2026-5223 affects Rust-Lang Cargo.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Rust-Lang","product":"Cargo","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-23.