{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-5223","published":"2026-05-25T10:16:15.480000Z","last_modified":"2026-07-23T17:10:00.123000Z","status":"Analyzed","cvss":{"version":"4.0","score":6.5,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"986d4109-89ea-491f-99fd-a8e4803919bd","primary":false},"auth":false,"cwes":["CWE-61"],"cpes":[{"criteria":"cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*","part":"a","vendor":"rust-lang","product":"cargo","version_end_excluding":"1.96.0"}],"cpes_truncated":false,"vendors":["rust-lang"],"products":["rust-lang/cargo"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jq42-7mfv-hm57","ecosystem":"crates.io","name":"cargo","purl":"pkg:cargo/cargo","ranges":[{"introduced":"0","fixed":"0.97.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2026-5223/","html_en":"/en/cve/CVE-2026-5223/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-5223","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-5223"},"untrusted":{"vendor_name":"Rust-lang","product_name":"Cargo","desc_en":"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.","affected":[{"untrusted_vendor":"Rust Project","untrusted_product":"Cargo","versions":[]}],"references":[{"url":"https://blog.rust-lang.org/2026/05/25/cve-2026-5223/","tags":["Mitigation","Vendor Advisory"]},{"url":"https://github.com/rust-lang/cargo/pull/17031","tags":["Issue Tracking","Patch"]},{"url":"https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8","tags":["Mailing List","Third Party Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:42923","url":"https://access.redhat.com/errata/RHSA-2026:42923","published":"2026-07-28T10:13:06+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update"}}]}