Read the docs
TI-2026-04563 Aliases CVE-2026-5223GHSA-jq42-7mfv-hm57

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

Priority LOW 29CWE-61Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 1 fixed, 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00294 22nd percentileScored 2026-11-07
Fix Partial Cargo (Rust Project): 1.96.0cargo (crates.io): 0.97.0Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Rust ProjectCargo1.0.0 to before 1.96.01.96.0Patch availableCNA
—cargo (crates.io)before 0.97.00.97.0Patch availableGHSA-jq42-7mfv-hm57
  • Cargo VendorRust Project Affected 1.0.0 to before 1.96.0 Fixed in 1.96.0 Patch available CNA
  • cargo (crates.io) Vendor— Affected before 0.97.0 Fixed in 0.97.0 Patch available GHSA-jq42-7mfv-hm57

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:*before 1.96.0Vulnerablerust-lang
  • cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:* Versions before 1.96.0 Vulnerable ·rust-lang

Remediation

  • Fix · CNA Cargo (Rust Project) Fixed in 1.96.0
  • Fix · GHSA-jq42-7mfv-hm57 cargo (crates.io) Fixed in 0.97.0 Advisory →

Red Hat 1 advisory

  • RHSA-2026:42923 Released 2026-07-21 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images cargo-1.97.1-1.1.hum1@aarch64, cargo-1.97.1-1.1.hum1@x86_64, clippy-1.97.1-1.1.hum1@aarch64 +36

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:42923

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-5223
  2. 2026-10-03 Alias added: GHSA-jq42-7mfv-hm57

References

  • TI-2025-10287 Rust standard library didn't detect all path separators on Cygwin CVSS 4.0MEDIUM 6.3

Sources