<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cargo on ZX Cloud Security</title><link>https://zxcloudsecurity.co.uk/tags/cargo/</link><description>Recent content in Cargo on ZX Cloud Security</description><generator>Hugo</generator><language>en-GB</language><lastBuildDate>Fri, 13 Jun 2025 08:42:39 +0000</lastBuildDate><atom:link href="https://zxcloudsecurity.co.uk/tags/cargo/index.xml" rel="self" type="application/rss+xml"/><item><title>CVE-2026-5222: Cargo Credential Leak Between Registries</title><link>https://zxcloudsecurity.co.uk/posts/cve-2026-5222-cargo-credential-leak-registry/</link><pubDate>Sat, 13 Jun 2026 08:42:39 +0000</pubDate><guid>https://zxcloudsecurity.co.uk/posts/cve-2026-5222-cargo-credential-leak-registry/</guid><description>CVE-2026-5222 allows Cargo to leak registry credentials to unintended endpoints. Learn the impact and how to protect your cloud build pipelines.</description><content:encoded><![CDATA[<p>🟠 <strong>High</strong>  |  <strong>Source:</strong> <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-5222">Microsoft Security Response Center</a></p>
<hr>
<p>CVE-2026-5222 is a vulnerability in Cargo, the Rust package manager, where it can be tricked into sending authentication credentials intended for one registry to a different, potentially untrusted registry. This credential leakage could allow an attacker to harvest tokens used to access private package registries. The issue is particularly relevant in CI/CD pipelines and cloud build environments where registry credentials are commonly stored as secrets.</p>
<blockquote>
<p><strong>Security Architect&rsquo;s Take:</strong> Audit all Cargo-based build pipelines running in Azure or other cloud environments and ensure registry credentials are scoped as tightly as possible; rotate any tokens that may have been exposed. Consider enforcing network-level controls to restrict Cargo&rsquo;s outbound registry access to approved endpoints only until a patched version of Cargo is deployed.</p>
</blockquote>
<p><strong>Original advisory:</strong> <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-5222">CVE-2026-5222 Cargo can be coerced to share credentials between registries</a></p>
]]></content:encoded></item><item><title>CVE-2026-5223: Rust Crate Registry Cache Override Flaw</title><link>https://zxcloudsecurity.co.uk/posts/cve-2026-5223-rust-crate-registry-cache-override-supply-chain/</link><pubDate>Sat, 13 Jun 2026 08:42:27 +0000</pubDate><guid>https://zxcloudsecurity.co.uk/posts/cve-2026-5223-rust-crate-registry-cache-override-supply-chain/</guid><description>CVE-2026-5223 allows third-party Rust registries to override cached crate sources, posing a supply chain risk in cloud build pipelines.</description><content:encoded><![CDATA[<p>🟠 <strong>High</strong>  |  <strong>Source:</strong> <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-5223">Microsoft Security Response Center</a></p>
<hr>
<p>CVE-2026-5223 is a vulnerability in Rust&rsquo;s package management ecosystem where crates hosted in third-party registries can override the cached source of legitimately installed crates. This creates a supply chain risk, as a malicious or compromised third-party registry could substitute trusted package code with altered versions. The impact is particularly significant in CI/CD pipelines and cloud build environments where dependency caching is widely used.</p>
<blockquote>
<p><strong>Security Architect&rsquo;s Take:</strong> Audit your Rust-based build pipelines for reliance on third-party crate registries and enforce registry source pinning using checksums or lockfiles. Consider restricting allowed registries in your Cargo configuration and validating crate integrity as part of your software supply chain controls.</p>
</blockquote>
<p><strong>Original advisory:</strong> <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-5223">CVE-2026-5223 Crates in third party registries can override the cached source of other crates</a></p>
]]></content:encoded></item></channel></rss>