Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5223: CWE-61 UNIX symbolic link (symlink) following in Rust Project Cargo

0
Medium
VulnerabilityCVE-2026-5223cvecve-2026-5223cwe-61
Published: Mon May 25 2026 (05/25/2026, 08:57:08 UTC)
Source: CVE Database V5
Vendor/Project: Rust Project
Product: Cargo

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/25/2026, 09:55:28 UTC

Technical Analysis

Cargo versions including 1.0.0 improperly handle symbolic links within crate tarballs downloaded from third-party registries. This vulnerability (CWE-61) enables a malicious actor to craft a crate that uses symlinks to overwrite or replace the source code of other crates from the same registry, potentially leading to supply chain compromise. The issue does not affect crates.io users as that registry disallows symlinks in uploaded crates. The CVSS 4.0 base score is 6.5, reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and limited impact on confidentiality and integrity with high scope and security requirements.

Potential Impact

The vulnerability allows an attacker controlling a crate in a third-party registry to override source code of other crates from that registry when Cargo downloads and extracts them. This can lead to supply chain attacks affecting users who rely on third-party registries that permit symlinks. Users of crates.io are not impacted. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should avoid using third-party registries that allow symlinks in crate tarballs or verify the integrity of crates before use. Users of crates.io are not affected and require no action. Monitor official Rust Project advisories for updates and patches addressing this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
rust
Date Reserved
2026-03-31T12:07:41.420Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a141902a5ae1af1aa7fdd89

Added to database: 5/25/2026, 9:40:18 AM

Last enriched: 5/25/2026, 9:55:28 AM

Last updated: 5/26/2026, 7:54:47 AM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses