CVE-2026-5223Disclosure(rust-lang / cargo)

LOWCVSS 5.3 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Patch rust-lang cargo systems immediately

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.5/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-61

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

AVAILABLE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • cargo

Threat summary

  • Patch or workaround signal is available
  • 4 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Patch or workaround mentioned in 1 signal
  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • General: 2 classified signals
  • Peaked 1d ago at 3 mentions (2026-05-25); latest day: 1
  • 4 total mentions across 2 days

Affected systems

Vendors
Products
cargo

Deep dive

Activity timeline4 mentions / 2d
01223Mentions · 2026-05-25: 3Mentions · 2026-05-29: 1Patch / Workaround · 2026-05-25: 1Technical Details · 2026-05-25: 205-2505-29
Signal classification2 categories
Disclosure
250.0%
General
250.0%
Referenced assets3 URLs
Classification over time
DateTotalLabels
2026-05-253
Disclosure2General1
2026-05-291
General1
Full discourse4 posts
  • Rust Bytes 🦀@rustaceans_rs
    Disclosure

    JUST IN: Security Advisory for Cargo (CVE-2026-5223) >> Malicious crates with symlinks can override other crates from the same third-party registry. Fixed in Rust 1.96.0. #rustlang #rust https://t.co/DJPa1M2e0W

    Post summary

    This tweet announces the discovery of CVE‑2026‑5223, describing how symlinked malicious crates can override other crates in the same registry, and notes that the issue is fixed in Rust 1.96.0.

    1402201.5K
    6.0K followersView on X
  • Open Source Security mailing list@oss_security
    General

    Cargo from Rust security advisories https://www.openwall.com/lists/oss-security/2026/05/28/5 CVE-2026-5222: Cargo can be coerced to share credentials between registries CVE-2026-5223: Crates in third party registries can override the cached source of other crates

    Post summary

    The advisories list two Rust Cargo CVEs noting credential sharing and crate overriding possibilities, but do not provide PoC, tooling, exploitation evidence, or patch details.

    01041384
    4.7K followersView on X
  • CVE@CVEnew
    Disclosure

    CVE-2026-5223 Cargo incorrectly handled symlinks inside of crate tarballs downloaded from third-party registries, allowing a malicious crate to override the source code of another cr… https://www.cve.org/CVERecord?id=CVE-2026-5223

    Post summary

    The text reports CVE-2026-5223: Cargo mishandles symlinks in crate tarballs, permitting a malicious crate to override another crate’s source code.

    00001222
    57.5K followersView on X
  • (((JReuben1)))@jreuben1
    General

    Security Advisory for Cargo (CVE-2026-5223) https://blog.rust-lang.org/2026/05/25/cve-2026-5223/

    Post summary

    The post references a Rust‑lang security advisory for CVE‑2026‑5223 with a link but provides no further details or claims about PoC, exploitation, or mitigation.

    0000057
    2.1K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Apprust-langcargo-rust-

Explore more