-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 0xCERT Security Advisory 0xCERT-2026-0198 ============================================================ Advisory-ID: 0xCERT-2026-0198 Severity: High Published: 2026-05-13T15:33:46.000Z Updated: 2026-10-08T22:47:31.224Z Chains: Solana URL: https://www.0xcert.com/advisory/0xCERT-2026-0198 Title: Anchor: `InterfaceAccount` allows account substitution between unexpected types Summary - ------- Anchor: `InterfaceAccount` allows account substitution between unexpected types. Any 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. Details - ------- Summary Any 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. Affected - - anchor-lang (rust) = 1.0.0-rc.1 — fixed in 1.0.0-rc.2 Severity High (CVSS 8.7), as rated by the upstream advisory. Recommended actions - - Upgrade anchor-lang to 1.0.0-rc.2 or later Source & attribution This 0xCERT advisory summarises GHSA-429q-fhh4-r6hj from the GitHub Advisory Database, credited upstream to acheroncrypto: https://github.com/advisories/GHSA-429q-fhh4-r6hj. Details may change; refer to the original source for the authoritative record. References - ---------- - - https://github.com/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/otter-sec/anchor/security/advisories/GHSA-429q-fhh4-r6hj - - https://rustsec.org/advisories/RUSTSEC-2026-0146.html Verify with the 0xCERT OpenPGP key: https://www.0xcert.com/pgp.asc Fingerprint: 5F94 3ED1 1E50 CF31 2128 C493 CCC7 D9EC 9415 723D -----BEGIN PGP SIGNATURE----- wrsEARYKAG0FgmrIRokJEDe9Tbcr+ZxrRRQAAAAAABwAIHNhbHRAbm90YXRp b25zLm9wZW5wZ3Bqcy5vcmfPidiWYRmdnun/aI4Iccn961b8BwS2SO+ndt7g NdfEShYhBGCkkFZbJcT5QWu27ze9Tbcr+ZxrAAD+SgD9GVR3z8X4EzbkqwxT NAMSB/DI7nXyiYzXNmmoyJIWWqoA/jmz5928gSlO16lZ8iLdG5TEPRcdAqcP X96d6fOZnvoA =FEZf -----END PGP SIGNATURE-----