{"id":"GHSA-429q-fhh4-r6hj","aliases":["RUSTSEC-2026-0146"],"url":"https://o3.security/vulnerability/GHSA-429q-fhh4-r6hj","summary":"Anchor: `InterfaceAccount` allows account substitution between unexpected types","details":"### Impact\nAny uses of `InterfaceAccount` allows another unexpected account type to be passed, after https://github.com/solana-foundation/anchor/pull/3837 disabled discriminator checking for this type.\n\nThe bug was originally reported and fixed in https://github.com/solana-foundation/anchor/pull/4139, see that PR for more details.\n\n### Patches\nhttps://github.com/solana-foundation/anchor/pull/4139 patched the issue and was released in `1.0.0-rc.2`. Users should upgrade to the latest released version of Anchor 1.0.\n\n### References\nBug landed in: https://github.com/solana-foundation/anchor/pull/3837\nBug fixed in: https://github.com/solana-foundation/anchor/pull/4139","published":"2026-05-13T15:33:46Z","modified":"2026-05-19T20:30:23.692156902Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"anchor-lang","fixedVersion":"1.0.0-rc.2"}],"fix":{"url":"https://github.com/solana-foundation/anchor/pull/3837","label":"solana-foundation/anchor#3837"},"references":[{"type":"WEB","url":"https://github.com/otter-sec/anchor/security/advisories/GHSA-429q-fhh4-r6hj"},{"type":"WEB","url":"https://github.com/solana-foundation/anchor/security/advisories/GHSA-429q-fhh4-r6hj"},{"type":"WEB","url":"https://github.com/solana-foundation/anchor/pull/3837"},{"type":"WEB","url":"https://github.com/solana-foundation/anchor/pull/4139"},{"type":"WEB","url":"https://github.com/solana-foundation/anchor/commit/26ef36968a62e28a1f028e7adae4806af30c747d"},{"type":"PACKAGE","url":"https://github.com/solana-foundation/anchor"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2026-0146.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-05-19T20:30:23.692156902Z"}}