Read the docs
TI-2026-32970 Aliases CVE-2026-45137GHSA-c6rc-8jpp-2fgc

Anchor: Program<'info, System> is not properly validated

Priority HIGH 75CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

Anchor is a framework providing several convenient developer tools for writing Solana programs. From 1.0.0 to before 1.0.2, an logic error causes anchor programs to accept any program id when requiring the system program id, causing false assumptions resulting in potential arbitrary cpi in programs that invoke system program instructions. In the TryFrom<&'a AccountInfo<'a>> implementation for Program<'a, T>, the id of T is compared with Pubkey::default() to check whether anchor should allow any executable account, or a specific account, because when no T is supplied, T defaults to (), which implements Id::id() by returning Pubkey::default(). This results in T = () and T = System (which has Pubkey::default() as the id) having the same behavior, both allow any executable account. Programs built with anchor assume that the anchor runtime verifies passed in programs of type Program<'a, System> are in fact the system program. This false assumption can lead to arbitrary CPI or payment bypassing when programs try making CPI calls to the system program using the passed in system program due to the fact that the attacker can pass in any program instead of the system program. This vulnerability is fixed in 1.0.2.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0028 20th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed anchor (solana-foundation): 1.0.2anchor-lang (crates.io): 1.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
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
solana-foundationanchor1.0.0 to before 1.0.21.0.2Patch availableCNA
—anchor-lang (crates.io)1.0.0 to before 1.0.21.0.2Patch availableGHSA-c6rc-8jpp-2fgc
  • anchor Vendorsolana-foundation Affected 1.0.0 to before 1.0.2 Fixed in 1.0.2 Patch available CNA
  • anchor-lang (crates.io) Vendor— Affected 1.0.0 to before 1.0.2 Fixed in 1.0.2 Patch available GHSA-c6rc-8jpp-2fgc

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:anchor-lang:anchor:*:*:*:*:*:rust:*:*1.0.0 to before 1.0.2VulnerableAnchor-lang
  • cpe:2.3:a:anchor-lang:anchor:*:*:*:*:*:rust:*:* Versions 1.0.0 to before 1.0.2 Vulnerable ·Anchor-lang

Remediation

  • Fix · CNA anchor (solana-foundation) Fixed in 1.0.2
  • Fix · GHSA-c6rc-8jpp-2fgc anchor-lang (crates.io) Fixed in 1.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-45137
  2. 2026-10-03 Alias added: GHSA-c6rc-8jpp-2fgc

References

Sources