Incorrect Authorization Affecting anchor-lang package, versions >=1.0.0-rc.1 <1.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-ANCHORLANG-16757923
  • published19 May 2026
  • disclosed7 May 2026
  • creditMatthias1590

Introduced: 7 May 2026

NewCVE-2026-45137  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade anchor-lang to version 1.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the Program<System> validation process. An attacker can cause downstream logic to make false assumptions about payments, account creation, or other system-program cross-program invocations by supplying an arbitrary executable program where the system program is expected.

CVSS Base Scores

version 4.0
version 3.1