Know every vulnerabilitybefore it knows you.
DevGuard continuously monitors your dependencies and alerts you when CVEs like this one affect your stack — with real-time threat intelligence built for developers.
RUSTSEC-2026-0144
No affected components available
Affected versions of anchor-lang did not properly validate accounts declared
as Program<'info, System>. The generic Program<T> validation path used
Pubkey::default() as a sentinel to decide whether any executable program
should be accepted. Since the system program id is also the default pubkey,
Program<'info, System> was treated like the untyped Program<'info> case and
accepted any executable program account.
Programs commonly rely on Program<'info, System> to ensure that CPI calls and
instruction builders target the real Solana system program. With the faulty
validation, an attacker could supply another executable program where the system
program was expected, causing downstream logic to make false assumptions about
payments, account creation, or other system-program CPIs.
The issue was fixed in anchor-lang 1.0.2 by separating the typed
Program<T> validation path from the untyped Program<()> path, so
Program<'info, System> now checks the provided account key against the system
program id. Users should upgrade to anchor-lang 1.0.2 or later.
The vulnerability can be exploited over the network without needing physical access. It is easy for an attacker to exploit this vulnerability. An attacker does not need any special privileges or access rights. No user interaction is needed for the attacker to exploit this vulnerability. The impact is confined to the system where the vulnerability exists. There is a low impact on the confidentiality of the information. There is a high impact on the integrity of the data.
Exploitation activity has been observed. Apply available patches or mitigations urgently.
The exploit probability is very low. The vulnerability is unlikely to be exploited in the next 30 days.
We did not find any exploit available. Neither in GitHub repositories nor in the Exploit-Database.
Browse More
Continuously monitor your dependencies and get alerted when vulnerabilities like this one affect your stack.
Checkout DevGuard