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

Advisory record · `GHSA-jq42-7mfv-hm57`

- **Identifiers:** `GHSA-jq42-7mfv-hm57` · `CVE-2026-5223`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-61](https://cwe.mitre.org/data/definitions/61.html)
- **Tags:** [CWE-61](https://agentprime.io/advisories/tag/cwe-61.md)
- **Published:** 26 Jun 2026
- **Updated:** 26 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 26 Jun 2026, 21:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `cargo` (crates.io): affected `<0.97.0`; fixed in `0.97.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, 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`, from CNA (rust)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0029, the 22nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:18 UTC: First seen by agentprime
- 31 Oct 2026, 15:18 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-jq42-7mfv-hm57)

## Sources

- [GitHub Advisory Database: GHSA-jq42-7mfv-hm57](https://github.com/advisories/GHSA-jq42-7mfv-hm57)
- [OSV: GHSA-jq42-7mfv-hm57](https://osv.dev/vulnerability/GHSA-jq42-7mfv-hm57)
- <https://github.com/rust-lang/cargo/security/advisories/GHSA-jq42-7mfv-hm57>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5223>
- <https://github.com/rust-lang/cargo/pull/17031>
- <https://blog.rust-lang.org/2026/05/25/cve-2026-5223>
- <https://github.com/rust-lang/cargo>
- <https://groups.google.com/g/rustlang-security-announcements/c/IB74S7Yksg8>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-jq42-7mfv-hm57>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jq42-7mfv-hm57/>. Everything for agents: <https://agentprime.io/llms.txt>.
