Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. anchor-lang
  4. ›
  5. CVE-2026-45137

CVE-2026-45137: Anchor: Program<'info, System> is not properly validated

May 13, 2026 (updated June 8, 2026)

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 →

Affected versions

All versions starting from 1.0.0 before 1.0.2

Fixed versions

  • 1.0.2

Solution

Upgrade to version 1.0.2 or above.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

cargo/anchor-lang/CVE-2026-45137.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:45 +0000.