Bug 2481158 (CVE-2026-5223) - CVE-2026-5223 cargo: Cargo: Source code overwrite due to symlink mishandling in third-party registries
Summary: CVE-2026-5223 cargo: Cargo: Source code overwrite due to symlink mishandling ...
Keywords:
Status: NEW
Alias: CVE-2026-5223
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-25 10:01 UTC by OSIDB Bzimport
Modified: 2026-07-22 16:36 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-05-25 10:01:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.