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…
EPSS 0.3%top 78%

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

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

Description

CVE-2026-5223 is a medium severity vulnerability in Rust's Cargo tool where symlinks inside crate tarballs from third-party registries are incorrectly handled. This flaw allows a malicious crate to override the source code of another crate from the same registry. Users of the official crates.io registry are not affected because it forbids uploading crates containing symlinks.

CVSS v4.0

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:H

Affected software

crates.iomore threats →ai
github/rust-lang/cargo
pkg:cargo/github/rust-lang/cargo
Affected versions
=1.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/13/2026, 10:24:36 UTC

Technical Analysis

Cargo, the Rust package manager, incorrectly processes symbolic links within crate tarballs downloaded from third-party registries. This improper handling can be exploited by a malicious crate to overwrite the source code of another crate from the same registry. The vulnerability is identified as CWE-61 (Improper Handling of Symbolic Links). Official crates.io users are not impacted due to restrictions on symlink uploads. The vulnerability has a CVSS 4.0 base score of 6.5, indicating medium severity. There is no vendor advisory or patch information available at this time.

Potential Impact

A malicious crate from a third-party registry can override the source code of another crate, potentially leading to supply chain compromise or code integrity issues for users relying on such registries. Users of crates.io are not impacted. There are no known exploits in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using third-party registries that allow symlinks in crates or verify crate contents before use. Users relying solely on crates.io are not affected and require no action.

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: 05/25/2026, 09:40:18 UTC

Last enriched: 06/13/2026, 10:24:36 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 71

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