CVE-2026-45137: Anchor: Program<'info, System> is not properly validated
(updated )
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.
References
- github.com/advisories/GHSA-c6rc-8jpp-2fgc
- github.com/otter-sec/anchor/security/advisories/GHSA-c6rc-8jpp-2fgc
- github.com/solana-foundation/anchor/releases/tag/v1.0.2
- github.com/solana-foundation/anchor/security/advisories/GHSA-c6rc-8jpp-2fgc
- nvd.nist.gov/vuln/detail/CVE-2026-45137
- rustsec.org/advisories/RUSTSEC-2026-0144.html
Code Behaviors & Features
Detect and mitigate CVE-2026-45137 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →