CVE-2026-45137
Last modified
CVE-2026-45137 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| solana-foundation | anchor | >= 1.0.0, < 1.0.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-45137?
How severe is CVE-2026-45137?
How do I fix CVE-2026-45137?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-45131CloudPirates Open Source Helm Charts is a collection of Helm…10
- CVE-2026-45132CloudPirates Open Source Helm Charts is a collection of Helm…10
- CVE-2026-45133Symfony is a PHP framework for web and console applications …7.5
- CVE-2026-45134LangSmith Client SDKs provide SDK's for interacting with the…7.1
- CVE-2026-45135Caddy is an extensible server platform that uses TLS by defa…8.1
- CVE-2026-45136claude-code-cache-fix is a cache optimization proxy for Clau…7.8
- CVE-2026-45138CI4MS is a CodeIgniter 4-based content management system ske…5.4
- CVE-2026-45139CI4MS is a CodeIgniter 4-based content management system ske…6.5
- CVE-2026-4514A flaw has been found in PbootCMS up to 3.2.12. Affected by …6.3
- CVE-2026-45147SiYuan is an open-source personal knowledge management syste…4.3
- CVE-2026-45148SiYuan is an open-source personal knowledge management syste…4.3
- CVE-2026-45149The brace-expansion library generates arbitrary strings cont…7.5
Are you affected by CVE-2026-45137?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
