crates.io (Rust)Worst: High2 advisories

anchor-lang: known vulnerabilities

anchor-lang has 2 reviewed security advisories in the GitHub Advisory Database — 2 high. The most recent was published 2026-05-27. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the anchor-lang versions running across your servers, containers and images, and ranks what to patch first.

How to fix anchor-lang

Upgrade anchor-lang to a release at or above the fixed version shown for each advisory below. For crates.io (Rust):

cargo update -p anchor-lang --precise 1.0.2 (cargo audit)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

Anchor: Program<'info, System> is not properly validated High 8.2 CWE-20 — Affected: from 1.0.0 up to 1.0.2. Fixed in 1.0.2. Published 2026-05-27. GHSA-c6rc-8jpp-2fgc · CVE-2026-45137
Anchor: `InterfaceAccount` allows account substitution between unexpected types High CWE-20 — Affected: from 1.0.0-rc.1 up to 1.0.0-rc.2. Fixed in 1.0.0-rc.2. Published 2026-05-13. GHSA-429q-fhh4-r6hj

Find anchor-lang across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.