{"id":"GHSA-429q-fhh4-r6hj","revision":"418b00876c0d4e8db1b3090fc9385473","records":[{"revision":"418b00876c0d4e8db1b3090fc9385473","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-429q-fhh4-r6hj","aliases":["RUSTSEC-2026-0146"],"title":"Anchor: `InterfaceAccount` allows account substitution between unexpected types","description":"### 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","state":0,"publishedAt":"2026-05-13T15:33:46+00:00","modifiedAt":"2026-05-19T20:30:23.6921569+00:00","affected":[{"ecosystem":"crates.io","name":"anchor-lang","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0-rc.1"},{"kind":"fixed","version":"1.0.0-rc.2"}]}],"versions":["1.0.0-rc.1"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/otter-sec/anchor/security/advisories/GHSA-429q-fhh4-r6hj","https://github.com/solana-foundation/anchor/security/advisories/GHSA-429q-fhh4-r6hj","https://github.com/solana-foundation/anchor/pull/3837","https://github.com/solana-foundation/anchor/pull/4139","https://github.com/solana-foundation/anchor/commit/26ef36968a62e28a1f028e7adae4806af30c747d","https://github.com/solana-foundation/anchor","https://rustsec.org/advisories/RUSTSEC-2026-0146.html"],"sourceUrl":"https://github.com/advisories/GHSA-429q-fhh4-r6hj","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-429q-fhh4-r6hj","identifiers":["GHSA-429q-fhh4-r6hj","RUSTSEC-2026-0146"]},"retained":false,"historicalAffected":[]}],"coverage":[]}