{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-5223","id":"CVE-2026-5223","title":"Crates in third party registries can override the cached source of other crates","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.","descriptionLong":"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.","published":"2026-05-25T08:57:08.488Z","updated":"2026-07-23T17:10:00.123Z","reserved":"2026-03-31T12:07:41.420Z","status":"Analyzed","rejected":false,"assigner":"rust","metric":{"version":"4.0","score":6.5,"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","rating":"medium","source":"rust"},"metrics":[{"version":"4.0","score":6.5,"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","rating":"medium","source":"rust"},{"version":"4.0","score":6.5,"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","rating":"medium","source":"986d4109-89ea-491f-99fd-a8e4803919bd"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Rust Project Cargo"],"affectedProducts":[{"vendor":"Rust Project","product":"Cargo","defaultStatus":"unaffected","versions":[{"status":"affected","version":"1.0.0","lessThan":"1.96.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-61"],"aliases":[],"references":[{"url":"https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8","tags":["vendor-advisory","mailing-list","Mailing List","Third Party Advisory"]},{"url":"https://blog.rust-lang.org/2026/05/25/cve-2026-5223/","tags":["vendor-advisory","Mitigation","Vendor Advisory"]},{"url":"https://github.com/rust-lang/cargo/pull/17031","tags":["patch","Issue Tracking","Patch"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00294,"epssPercentile":0.22465,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-5223","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5223","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-5223","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-5223","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}