Security mailing lists by PureSourceCode

CVE-2026-5223

MEDIUM 6.5CVSS 4.0

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

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
25 May 2026
Last modified
23 Jul 2026
Assigned by
986d4109-89ea-491f-99fd-a8e4803919bd
NVD status
Analyzed
Weakness
CWE-61
Also known as
GHSA-jq42-7mfv-hm57
Sources
NVDJSONOSV GHSA-jq42-7mfv-hm57JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 986d4109-89ea-491f-99fd-a8e4803919bd (Secondary) CVSS 4.0 MEDIUM 6.5 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rust-lang cargo
cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*
< 1.96.0 1.96.0
OSV crates.io cargo < 0.97.0 0.97.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 25 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.