Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-26267

CVE-2026-26267: Soroban SDK Auth Bypass Vulnerability

CVE-2026-26267 is an authentication bypass flaw in soroban-sdk where the contractimpl macro incorrectly calls inherent functions instead of trait functions, potentially bypassing security checks. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: February 20, 2026

CVE-2026-26267 Overview

CVE-2026-26267 is an authorization bypass vulnerability in soroban-sdk, the Rust SDK for Soroban smart contracts on the Stellar blockchain. The vulnerability exists in the #[contractimpl] procedural macro, which incorrectly generates function call dispatch code that can silently call an unprotected inherent function instead of the intended trait function when both share the same name. This flaw allows attackers to bypass critical security checks implemented in trait functions.

Critical Impact

Smart contract security checks, including caller authorization verification, can be completely bypassed when exploiting this macro code generation flaw, potentially leading to unauthorized operations on affected Soroban contracts.

Affected Products

  • soroban-sdk-macros versions prior to 22.0.10
  • soroban-sdk-macros versions prior to 23.5.2
  • soroban-sdk-macros versions prior to 25.1.1

Discovery Timeline

  • 2026-02-19 - CVE-2026-26267 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-26267

Vulnerability Analysis

This vulnerability stems from incorrect code generation in the #[contractimpl] procedural macro within soroban-sdk-macros. When developers implement a trait for their contract type with #[contractimpl] applied, the macro generates Wasm-exported entry points that dispatch incoming calls to the appropriate function implementations.

The flaw occurs because the macro generates function calls using the syntax <Type>::func() regardless of whether it's processing a trait implementation or an inherent implementation. In Rust, this syntax preferentially resolves to inherent implementations over trait implementations when both exist. Consequently, if a contract defines both an impl Trait for MyContract block (with #[contractimpl]) and an impl MyContract block containing a function with an identical name (without #[contractimpl]), the Wasm-exported entry point will silently call the inherent function instead of the trait function.

This is particularly dangerous in smart contract contexts where trait implementations often contain critical security validations such as caller authorization checks. An inherent function with the same name may lack these protections, allowing anyone interacting with the contract's public interface to execute privileged operations without authorization.

Root Cause

The root cause is CWE-670 (Always-Incorrect Control Flow Implementation). The derive_fn.rs module in soroban-sdk-macros generates function call dispatch code that unconditionally uses unqualified type syntax (<Type>::func()), which does not properly disambiguate between trait and inherent implementations when processing trait impl blocks. Rust's method resolution rules prioritize inherent implementations, causing the wrong function to be called.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Identifying a vulnerable Soroban contract that has both a trait implementation with security checks and an inherent implementation with the same function name lacking those checks
  2. Invoking the contract function through its public Wasm interface
  3. The macro-generated dispatch code will call the unprotected inherent function, bypassing all security validations in the trait implementation

The following patch demonstrates the fix applied to derive_fn.rs:

rust
     // Collect errors as they are encountered and emit them at the end.
     let mut errors = Vec::<Error>::new();
 
-    let call = quote! { <#impl_ty>::#ident };
+    let call = if let Some(t) = trait_ident {
+        quote! { <#impl_ty as #t>::#ident }
+    } else {
+        quote! { <#impl_ty>::#ident }
+    };
 
     // Prepare the env input.
     let env_input = inputs.first().and_then(|a| match a {

Source: GitHub Commit Update

Detection Methods for CVE-2026-26267

Indicators of Compromise

  • Unexpected successful execution of privileged contract operations by unauthorized callers
  • Contract audit logs showing function invocations that should have been rejected by authorization checks
  • Discrepancies between expected trait behavior and actual contract execution results

Detection Strategies

  • Review contract source code for the presence of both impl Trait for ContractType blocks with #[contractimpl] and impl ContractType blocks containing functions with matching names
  • Audit compiled Wasm binaries to verify correct function dispatch behavior
  • Implement contract integration tests that specifically verify authorization checks are enforced

Monitoring Recommendations

  • Monitor contract function invocations for unexpected access patterns or unauthorized operations
  • Set up alerts for privileged operations executed by accounts that should not have authorization
  • Regularly audit deployed contracts compiled with affected soroban-sdk-macros versions

How to Mitigate CVE-2026-26267

Immediate Actions Required

  • Upgrade to soroban-sdk-macros version 22.0.10, 23.5.2, or 25.1.1 depending on your current version track
  • Recompile all Soroban contracts after upgrading to regenerate correct dispatch code
  • Audit existing contracts for the vulnerable pattern before redeployment
  • Review contract audit logs for any signs of exploitation

Patch Information

Security patches are available through multiple pull requests addressing different version branches. The fix modifies the macro code generation to use fully qualified trait syntax (<Type as Trait>::func()) when processing trait implementations, ensuring Rust correctly resolves to the trait function regardless of whether an inherent function with the same name exists.

  • GitHub Security Advisory GHSA-4chv-4c6w-w254
  • GitHub Pull Request #1729
  • GitHub Pull Request #1730
  • GitHub Pull Request #1731

Workarounds

  • Ensure no inherent associated function on the contract type shares a name with any function in a trait implementation
  • Rename or remove conflicting inherent functions to eliminate the ambiguity
  • Avoid defining impl ContractType blocks with functions that duplicate names from impl Trait for ContractType blocks
bash
# Upgrade soroban-sdk-macros using Cargo
cargo update -p soroban-sdk-macros
# Verify the patched version is installed
cargo tree -p soroban-sdk-macros
# Recompile contracts to regenerate correct dispatch code
cargo build --release --target wasm32-unknown-unknown

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSoroban Sdk

  • SeverityHIGH

  • CVSS Score7.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-670
  • Technical References
  • GitHub Commit Update

  • GitHub Pull Request #1729

  • GitHub Pull Request #1730

  • GitHub Pull Request #1731

  • GitHub Security Advisory GHSA-4chv-4c6w-w254
  • Related CVEs
  • CVE-2026-24889: Soroban SDK Buffer Overflow Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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