# RUSTSEC-2026-0146 - `InterfaceAccount` allows account substitution between unexpected types

Source: https://junglewise.ai/threats/rustsec-2026-0146-interfaceaccount-allows-account-substitution-between-0a9811e2  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-08  
License: CC BY 4.0 with a link back

Severity: medium · CVSS 4 · Published 2026-05-08

`InterfaceAccount` allows account substitution between unexpected types

Technologies: [anchor-lang (crates.io)](https://junglewise.ai/threats/technologies/anchor-lang). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Medium severity, with a CVSS score of 4, published 8 May 2026.

**Which products and versions are affected?** anchor-lang (crates.io) SEMVER:introduced=1.0.0-rc.1,fixed=1.0.0-rc.2.

**Is there a fix for This vulnerability?** Yes. anchor-lang (crates.io): upgrade to 1.0.0-rc.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run anchor-lang (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- anchor-lang (crates.io): upgrade to 1.0.0-rc.2 or later

  ```sh
  cargo update -p anchor-lang
  ```


## Affected products

- anchor-lang (crates.io) SEMVER:introduced=1.0.0-rc.1,fixed=1.0.0-rc.2

## Related threats

- [Anchor Framework improper validation of System Program ID](https://junglewise.ai/threats/cve-2026-45137-anchor-framework-improper-validation-of-system-program-id)
- [Solana Anchor account substitution in InterfaceAccount](https://junglewise.ai/threats/solana-anchor-account-substitution-in-interfaceaccount-ad7a3983)
