Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Crates in third party registries can override the cached source of other crates

CVSS 4.0 6.5 MEDIUMEUVD CVSS 4.0 6.5 CVSS 4.0 · 986d4109-89ea-491f-99fd-a8e4803919bd · Secondary 6.5 MEDIUMCVSS 3.1 · [email protected] · Primary 5.3 MEDIUMCVSS_V4 Publisher rating MODERATEFixed by cargo 0.97.0KEV status unknown

cve-program · CVE-2026-5223

Published

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.

Read the publisher's advisory

euvd · EUVD-2026-31658

Published

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.

Read the publisher's advisory

nvd · CVE-2026-5223

Published

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.

Read the publisher's advisory

osv · GHSA-jq42-7mfv-hm57

Published

The Rust Security Response Team was notified that 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. This vulnerability is tracked as CVE-2026-5223. 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. ## Overview When building a crate, Cargo extracts its source code in a local cache (stored within `~/.cargo`), reusing it for any future build. Cargo includes protections to prevent any file from being extracted outside of the crate's own cache directory. It was discovered that it's possible to craft a malicious tarball able to extract files one level below the crate's own cache directory. With the way the cache is structured, that allowed the malicious crate to override the cache of other crates belonging to the same registry. ## Mitigations Rust 1.96.0, to be released on May 28th, 2026, will update Cargo to reject extracting *any* symlink within crate tarballs, regardless of whether they come from crates.io (which already forbids them) or third-party registries. Note that Cargo never added symlinks when running `cargo package` or `cargo publish`, so the impact of this should be minimal. Users who are not able to upgrade to the most recent Rust version are recommended to audit the contents of their registry for the presence of any symlink, and to configure their registry to reject symlink (if such option is available). ## Affected versions All versions of Cargo shipped before Rust 1.96.0 are affected. ## Acknowledgements Cargo would like to thank Christos Papakonstantinou for reporting this to us according to the [Rust security policy][1]. Cargo also wants to thank the members of the Rust project who helped address the vulnerability: Josh Triplett for developing the fix; Arlo Siemsen for reviewing the fix; Emily Albini for writing this advisory; Emily Albini, Josh Stone and Manish Goregaokar for coordinating the disclosure; Ed Page and Eric Huss for advising during the disclosure. [1]: https://rust-lang.org/policies/security

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-5223

Published

cargo

https://crates.io

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Rust Project",
                    "product": "Cargo",
                    "collectionURL": "https://crates.io",
                    "packageName": "cargo",
                    "repo": "https://github.com/rust-lang/cargo",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "1.0.0",
                            "lessThan": "1.96.0",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-31658

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: May 25, 2026, 8:57:08 AM

dateUpdated: May 27, 2026, 6:35:35 PM

2 related source bulletins · separate from aliases

msrc_CVE-2026-5223: Crates in third party registries can override the cached source of other crates

CVE-2026-5223

RHSA-2026:42923: Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

CVE-2026-5223 · CVE-2026-50185

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-5223

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-61

Original publisher date fields

published: 2026-05-25T10:16:15.480

lastModified: 2026-07-23T17:10:00.123

1 source CPE criteria · context only
  • cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-jq42-7mfv-hm57

Published

cargo

crates.io

SEMVER · introduced 0 → fixed 0.97.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 05:33 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current