{"id":"EUVD-2026-31658","enisaUuid":"20bf7f17-8946-32f0-b0e6-e874e51f9de6","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.","datePublished":"May 25, 2026, 8:57:08 AM","dateUpdated":"May 27, 2026, 6:35:35 PM","baseScore":6.5,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8\nhttps://blog.rust-lang.org/2026/05/25/cve-2026-5223/\nhttps://github.com/rust-lang/cargo/pull/17031\n","aliases":"CVE-2026-5223\nGHSA-jq42-7mfv-hm57\n","assigner":"rust","epss":0.29,"enisaIdProduct":[{"id":"6525a3c5-745b-35be-881e-72c3b780152a","product":{"name":"cargo","vendor":{"name":"rust-lang"}},"product_version":"1.0.0 \u003c1.96.0"}],"enisaIdVendor":[{"id":"b07e5913-1400-3864-a75c-a3a9a366ae3a","vendor":{"name":"Rust Project"}}],"enisaIdVulnerability":[{"id":"437bb9e6-4978-33f9-ab16-ddeeee836671","vulnerability":{"id":"CVE-2026-5223","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.","datePublished":"May 25, 2026, 8:57:08 AM","dateUpdated":"May 27, 2026, 6:35:35 PM","status":"PUBLISHED","baseScore":6.5,"baseScoreVersion":"4.0","baseScoreVector":"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","references":"https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8\nhttps://blog.rust-lang.org/2026/05/25/cve-2026-5223/\nhttps://github.com/rust-lang/cargo/pull/17031\n","enisa_id":"EUVD-2026-31658\n","assigner":"rust","epss":0.29,"dataProcessed":"Nov 23, 2026, 7:22:03 AM","vulnerabilityProduct":[{"id":"ed7205cb-5517-3f2f-8210-ac23120663b0","product":{"name":"cargo","vendor":{"name":"rust-lang"}},"product_version":"1.0.0 \u003c1.96.0"}],"vulnerabilityVendor":[{"id":"d4674a7f-7aa5-3f7e-9668-b50d86014e68","vendor":{"name":"Rust Project"}}]}},{"id":"7035371d-e7da-388d-85c3-648d4881ce2b","vulnerability":{"id":"GHSA-jq42-7mfv-hm57","description":"Cargo crates in third party registries can override the cached source of other crates","datePublished":"Jun 26, 2026, 9:48:43 PM","dateUpdated":"Jun 26, 2026, 9:48:43 PM","baseScore":0.0,"references":"https://github.com/rust-lang/cargo/security/advisories/GHSA-jq42-7mfv-hm57\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-5223\nhttps://github.com/rust-lang/cargo/pull/17031\nhttps://blog.rust-lang.org/2026/05/25/cve-2026-5223\nhttps://github.com/rust-lang/cargo\nhttps://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8\n","enisa_id":"EUVD-2026-31658\n","aliases":"CVE-2026-5223\nGHSA-jq42-7mfv-hm57\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:52:23 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"31e89fea-8d41-38ed-9a23-fb53b1a2b67b","advisory":{"id":"msrc_CVE-2026-5223","description":"Crates in third party registries can override the cached source of other crates","datePublished":"May 27, 2026, 1:18:36 AM","dateUpdated":"Nov 16, 2026, 10:56:51 PM","baseScore":0.0,"references":"https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-5223.json\n","aliases":"CVE-2026-5223\n","source":{"id":20,"name":"csaf_microsoft"},"advisoryProduct":[{"id":"20ec73d6-3c63-3504-9347-45d3295aff7b","product":{"name":"Azure Linux","vendor":{"name":"Microsoft"}}},{"id":"2f16e5d1-4c95-3ecd-b9ee-18908aae6800","product":{"name":"azl3 rust 0:1.90.0-8.azl3","vendor":{"name":"Microsoft"}}},{"id":"49ea4e41-80a0-399d-868e-2c7a223e628a","product":{"name":"azl4 rust 0:1.99.0-2.azl4","vendor":{"name":"Microsoft"}}},{"id":"7a876a66-150c-33fd-928d-45741db15457","product":{"name":"azl4 rust-cargo 0:0.98.0-2.azl4","vendor":{"name":"Microsoft"}}},{"id":"81c192ab-e1c5-3f21-843d-f67556365a9f","product":{"name":"azl3 rust 0:1.75.0-29.azl3","vendor":{"name":"Microsoft"}}},{"id":"ac957473-f4ac-3689-b769-6e51a327806c","product":{"name":"rust","vendor":{"name":"rust-lang"}}},{"id":"cff362c2-6d38-333f-be2a-1c1276c0ab41","product":{"name":"4.0","vendor":{"name":"Invensys"}}},{"id":"e0135677-0070-3713-8c1e-277cca1a962b","product":{"name":"3.0","vendor":{"name":"Wind River"}}}]}},{"id":"33280e7f-eb87-36b3-8cbd-2eac2b166748","advisory":{"id":"RHSA-2026:42923","description":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","summary":"An update for Red Hat Hardened Images RPMs is now available.","datePublished":"Jul 21, 2026, 4:36:38 PM","dateUpdated":"Nov 7, 2026, 5:52:06 AM","baseScore":0.0,"references":"https://access.redhat.com/errata/RHSA-2026:42923\nhttps://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_42923.json\n","aliases":"CVE-2026-5223\nCVE-2026-50185\n","source":{"id":9,"name":"csaf_redhat"},"advisoryProduct":[{"id":"043668da-d7ef-32d8-b12d-f622c1d96dc8","product":{"name":"Red Hat Hardened Images","vendor":{"name":"Red Hat"}}},{"id":"0d060484-6b83-3aea-b440-dd7aa5569220","product":{"name":"rust-doc-0:1.97.1-1.1.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"0d3cfa75-8464-3696-893e-b6765b5f1bbe","product":{"name":"rust-std-static-aarch64-unknown-uefi-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"0fde712f-1530-3a29-b49b-51488f0c9faf","product":{"name":"rust-analyzer-0:1.97.1-1.1.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"13aac9c0-52e2-3693-a55f-20ee0acdb6cc","product":{"name":"rust-std-static-aarch64-unknown-none-softfloat-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"158e0036-703b-3521-8871-8f195505a5f9","product":{"name":"rust-std-static-x86_64-unknown-none-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"1a10e496-59c4-3877-9193-93ce1efe5304","product":{"name":"rustfmt-0:1.97.1-1.1.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"1c22414b-4443-3772-86f5-d3d9095daae9","product":{"name":"rust-std-static-x86_64-pc-windows-gnu-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"2ea91c79-83b5-353a-ab1c-96539887bf6d","product":{"name":"cargo-0:1.97.1-1.1.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"30cc55a2-5fc5-389d-b98c-4120799f2dc6","product":{"name":"rust-0:1.97.1-1.1.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"31fbc36e-92e6-3c15-86e1-6902cc9e78a9","product":{"name":"rust-gdb-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"3a5dbbe2-54f0-3fb1-91b9-930dea87b236","product":{"name":"rust-std-static-x86_64-unknown-none-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"3bebbb9b-b750-3f9d-875b-d59b36b3c3a0","product":{"name":"clippy-0:1.97.1-1.1.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"3f015934-bfac-37e7-ac55-32895bc506e3","product":{"name":"rust-std-static-wasm32-wasip1-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"42ccc029-cc1c-3de9-b400-6881730f7eeb","product":{"name":"rust-main@x86_64","vendor":{"name":"Red Hat"}}},{"id":"50cb6bcf-8b7b-3d6c-9288-3ddb5f161407","product":{"name":"rust-main@aarch64","vendor":{"name":"Red Hat"}}},{"id":"59ed941b-8ccd-3719-b497-8b2c0c5eb2e5","product":{"name":"rust-std-static-0:1.97.1-1.1.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"676c5cda-62f7-3036-9842-44a7caa7800d","product":{"name":"rust-src-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"7fc73002-9084-33ac-b985-02ee779e9d24","product":{"name":"rust-std-static-x86_64-unknown-uefi-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"82fb5d90-fb93-32ea-b6f5-4d277ea8282f","product":{"name":"rust-analyzer-0:1.97.1-1.1.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"872b1834-d63b-3fb3-a7c2-df0aae7b6041","product":{"name":"rust-debugger-common-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"8a0d4f72-e76d-3c9f-aeb4-dbc26a2fefac","product":{"name":"rust-main@noarch","vendor":{"name":"Red Hat"}}},{"id":"9c814f73-b7aa-3898-9d87-349635c1ec0b","product":{"name":"rust-std-static-wasm32-unknown-unknown-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"b18a8a6c-b337-3dae-9f81-3cf81ca13edf","product":{"name":"rust-0:1.97.1-1.1.hum1@src","vendor":{"name":"Red Hat"}}},{"id":"b2be2fda-4820-3bb7-b717-c6ff8fd54541","product":{"name":"rustfmt-0:1.97.1-1.1.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"c3e07ae4-0280-3dce-9dd6-811b3cedd833","product":{"name":"rust-std-static-i686-pc-windows-gnu-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"c55da7bf-3659-3b58-945b-54258ab696e4","product":{"name":"rust-lldb-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"c9e373e4-a598-305a-9330-7e4497c4f890","product":{"name":"rust-std-static-aarch64-unknown-none-softfloat-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"d20767e4-206c-338d-bf7b-30f59f1f6656","product":{"name":"rust-src-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"d26da46d-c342-3da2-8359-d8f05566760c","product":{"name":"rust-std-static-0:1.97.1-1.1.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"d37cac6a-ddc8-3bef-ae67-e9f6f1329de4","product":{"name":"rust-std-static-wasm32-wasip1-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"d3abd0dd-f159-336b-9ff4-f3c442382cc3","product":{"name":"rust-std-static-aarch64-unknown-uefi-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"d6945a1b-680e-38d2-8802-e3f2bd42a8ba","product":{"name":"clippy-0:1.97.1-1.1.hum1@x86_64","vendor":{"name":"Red Hat"}}},{"id":"e082bec2-d483-37c7-8205-b28e30d2c033","product":{"name":"rust-0:1.97.1-1.1.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"e11cfc3a-b999-3698-9fe1-21df3d40a03f","product":{"name":"rust-std-static-wasm32-unknown-unknown-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"e21e6f0d-46b4-3b54-a2f2-1caeb9fcc337","product":{"name":"rust-main@src","vendor":{"name":"Red Hat"}}},{"id":"e22270c0-66cc-38b0-ae99-04b2dad4a064","product":{"name":"rust-debugger-common-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"e473ae58-952f-3a10-b4ed-9675ce447edf","product":{"name":"rust-doc-0:1.97.1-1.1.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"eb5f2765-52c9-3076-9c1c-659b6842e2b3","product":{"name":"rust-std-static-x86_64-pc-windows-gnu-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"ed287363-80f7-3d9b-9be9-ac6f2a18d03a","product":{"name":"rust-std-static-x86_64-unknown-uefi-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"f090642e-9e3e-3dce-b4cc-7a2794d158b1","product":{"name":"cargo-0:1.97.1-1.1.hum1@aarch64","vendor":{"name":"Red Hat"}}},{"id":"f9692846-4220-3889-aa9e-e2dea456f9ed","product":{"name":"rust-gdb-0:1.97.1-1.1.hum1@noarch@public-hummingbird-aarch64-rpms","vendor":{"name":"Red Hat"}}},{"id":"fa583f09-740e-3e83-a248-b7e71e0bb9a6","product":{"name":"rust-std-static-i686-pc-windows-gnu-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}},{"id":"fce14822-e6cb-381b-baa9-8ee1b5fa04f7","product":{"name":"rust-lldb-0:1.97.1-1.1.hum1@noarch@public-hummingbird-x86_64-rpms","vendor":{"name":"Red Hat"}}}]}}]}