A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-45137

CVE-2026-45137: Anchor Framework Auth Bypass Vulnerability

CVE-2026-45137 is an authentication bypass flaw in Anchor Framework for Solana that allows attackers to substitute arbitrary programs for the system program. This article covers technical details, affected versions, and mitigation.

Published: May 28, 2026

CVE-2026-45137 Overview

CVE-2026-45137 affects Anchor, a framework for writing Solana programs. The vulnerability is a logic error in the TryFrom<&'a AccountInfo<'a>> for Program<'a, T> implementation. Anchor programs accept any executable account when they should require the Solana system program. Attackers can pass arbitrary programs in place of the system program, enabling arbitrary Cross-Program Invocation (CPI) or payment bypass. The flaw affects versions 1.0.0 up to but not including 1.0.2 and is fixed in 1.0.2. The issue is classified under [CWE-20] Improper Input Validation.

Critical Impact

Anchor programs invoking Program<'a, System> may execute CPI calls against attacker-controlled programs, leading to arbitrary CPI execution and payment bypass in on-chain Solana programs.

Affected Products

  • Anchor framework versions 1.0.0 through 1.0.1
  • Solana programs built with vulnerable Anchor versions that declare Program<'a, System> accounts
  • Downstream Solana programs performing CPI to the system program via Anchor account validation

Discovery Timeline

  • 2026-05-27 - CVE-2026-45137 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-45137

Vulnerability Analysis

The vulnerability resides in Anchor's TryFrom<&'a AccountInfo<'a>> implementation for Program<'a, T>. Anchor compares the id of generic type T against Pubkey::default() to decide whether to allow any executable account or enforce a specific program id. When no T is supplied, T defaults to the unit type (), which implements Id::id() by returning Pubkey::default().

The System program also reports Pubkey::default() as its id. As a result, T = () and T = System produce identical runtime behavior. Both branches accept any executable account passed by the caller. Programs declaring Program<'a, System> therefore bypass the intended system program identity check.

Root Cause

The root cause is an ambiguous sentinel value. Anchor overloads Pubkey::default() to mean "no specific program required," while the system program legitimately uses the same default pubkey as its identifier. The runtime cannot distinguish between an unset type parameter and the System program type, collapsing two distinct validation paths into one permissive path.

Attack Vector

An attacker constructs a transaction targeting a vulnerable Anchor program that declares a Program<'a, System> account. Instead of supplying the genuine system program, the attacker supplies a malicious executable program account. Anchor's account validation accepts the substitution. When the victim program invokes a CPI such as system_program::transfer, the call dispatches to the attacker-controlled program. The attacker can short-circuit transfers, skip payments, or trigger arbitrary instructions in the substituted program.

No synthetic exploitation code is published in the advisory. See the GitHub Security Advisory GHSA-c6rc-8jpp-2fgc for the technical write-up.

Detection Methods for CVE-2026-45137

Indicators of Compromise

  • Solana transactions invoking Anchor programs where the account at the system_program index does not equal 11111111111111111111111111111111.
  • Unexpected CPI invocations originating from Anchor programs targeting non-system executable accounts.
  • On-chain transfers that were expected but produced no lamport balance changes for the recipient.

Detection Strategies

  • Audit deployed Anchor program source for use of Program<'a, System> and confirm the dependency version is 1.0.2 or later.
  • Scan transaction logs for CPI dispatch to unknown program ids in slots where the system program was expected.
  • Use static analysis on Anchor IDL output to enumerate account types declared as the system program and flag programs built against vulnerable Anchor releases.

Monitoring Recommendations

  • Instrument Solana RPC consumers to alert when an Anchor program's systemProgram account argument deviates from the canonical system program pubkey.
  • Track on-chain CPI graphs and flag programs that suddenly invoke unfamiliar callee program ids.
  • Continuously inventory dependency manifests (Cargo.toml) across program repositories to detect Anchor versions in the vulnerable range.

How to Mitigate CVE-2026-45137

Immediate Actions Required

  • Upgrade Anchor to version 1.0.2 or later in all Solana program workspaces.
  • Rebuild and redeploy any program previously compiled with Anchor 1.0.0 or 1.0.1.
  • Review existing programs for explicit pubkey checks against solana_program::system_program::ID and add them where missing.

Patch Information

The vulnerability is fixed in Anchor 1.0.2. The patch corrects the TryFrom<&'a AccountInfo<'a>> implementation for Program<'a, T> so that the System program type performs a direct pubkey equality check rather than relying on the Pubkey::default() sentinel. Refer to the GitHub Security Advisory GHSA-c6rc-8jpp-2fgc for patch commits and release notes.

Workarounds

  • Add an explicit constraint such as #[account(address = system_program::ID)] to any Program<'a, System> account declaration as a defense-in-depth measure.
  • Manually assert ctx.accounts.system_program.key() == &system_program::ID inside instruction handlers before any CPI call.
  • Halt deployment of new programs built with vulnerable Anchor versions until the upgrade is complete.
bash
# Update Anchor dependency to the patched release
cargo update -p anchor-lang --precise 1.0.2
cargo update -p anchor-spl --precise 1.0.2
anchor build
anchor deploy

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechAnchor

  • SeverityHIGH

  • CVSS Score8.2

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-20
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English