{"id":"EUVD-2026-32665","revision":"bd0019c584cd4ca98dcecd94d615f7f6","records":[{"revision":"bd0019c584cd4ca98dcecd94d615f7f6","observedAt":"2026-10-28T06:10:43.056+00:00","statement":{"source":"euvd","id":"EUVD-2026-32665","aliases":["CVE-2026-45137","GHSA-c6rc-8jpp-2fgc"],"title":"Anchor is a framework providing several convenient developer tools for writing Solana programs. From 1.0.0 to before 1.0.2, an logic error causes anchor programs to accept any program id when requiring the system program id, causing false a…","description":"Anchor is a framework providing several convenient developer tools for writing Solana programs. From 1.0.0 to before 1.0.2, an logic error causes anchor programs to accept any program id when requiring the system program id, causing false assumptions resulting in potential arbitrary cpi in programs that invoke system program instructions. In the TryFrom<&'a AccountInfo<'a>> implementation for Program<'a, T>, the id of T is compared with Pubkey::default() to check whether anchor should allow any executable account, or a specific account, because when no T is supplied, T defaults to (), which implements Id::id() by returning Pubkey::default(). This results in T = () and T = System (which has Pubkey::default() as the id) having the same behavior, both allow any executable account. Programs built with anchor assume that the anchor runtime verifies passed in programs of type Program<'a, System> are in fact the system program. This false assumption can lead to arbitrary CPI or payment bypassing when programs try making CPI calls to the system program using the passed in system program due to the fact that the attacker can pass in any program instead of the system program.  This vulnerability is fixed in 1.0.2.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","score":8.2,"severity":null}],"references":["https://github.com/otter-sec/anchor/security/advisories/GHSA-c6rc-8jpp-2fgc"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-32665","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 27, 2026, 8:52:23 PM","dateUpdated":"May 28, 2026, 1:05:18 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-32665","identifiers":["EUVD-2026-32665","CVE-2026-45137","GHSA-c6rc-8jpp-2fgc"]},"retained":false,"historicalAffected":[]}],"coverage":[]}