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-8186

CVE-2026-8186: Open5GS RCE Vulnerability

CVE-2026-8186 is a remote code execution vulnerability in Open5GS up to version 2.7.7 caused by an out-of-bounds read in the SBI client library. This article covers technical details, affected versions, and mitigation.

Published: May 18, 2026

CVE-2026-8186 Overview

CVE-2026-8186 is an out-of-bounds read vulnerability in Open5GS versions up to 2.7.7. The flaw resides in the ogs_sbi_client_send_via_scp_or_sepp function within lib/sbi/client.c, which is part of the Network Function (NF) component. An attacker can trigger the issue remotely by sending a callback URI that lacks a path component, causing the Service Based Interface (SBI) client to read outside the bounds of an allocated buffer. The vulnerability is categorized under [CWE-119] (Improper Restriction of Operations within the Bounds of a Memory Buffer). Open5GS maintainers addressed the issue in commit d5bc487fcf9ea87d2b03f2ef95123af344773bfb.

Critical Impact

Remote, unauthenticated attackers can crash Open5GS Network Function instances, disrupting 5G core service availability.

Affected Products

  • Open5GS versions up to and including 2.7.7
  • Open5GS SBI library (lib/sbi/client.c)
  • Open5GS Network Function (NF) components relying on SCP/SEPP routing

Discovery Timeline

  • 2026-05-09 - CVE-2026-8186 published to the National Vulnerability Database (NVD)
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-8186

Vulnerability Analysis

The defect lives in the Open5GS SBI client routing logic used to forward requests through a Service Communication Proxy (SCP) or Security Edge Protection Proxy (SEPP). When ogs_sbi_client_send_via_scp_or_sepp processes a request, it calls ogs_sbi_getpath_from_uri to extract the path portion of the callback URI. The pre-patch code did not check the boolean return value of that helper. When the URI lacks a path component, the helper returns false and leaves the path variable uninitialized or invalid, but execution continues. The subsequent ogs_assert(path) and ogs_msprintf calls then operate on unsafe memory, producing an out-of-bounds read and a crash of the Network Function process.

Root Cause

The root cause is missing return-value validation on ogs_sbi_getpath_from_uri. Callback URIs supplied by peer NFs are not sanitized before parsing, so a malformed URI without a path segment propagates directly into string formatting routines that assume a valid path pointer.

Attack Vector

The attack is network-reachable and requires no authentication or user interaction. An attacker who can deliver an SBI request with a crafted callback URI to a vulnerable Open5GS NF triggers the out-of-bounds read on the receiving end. The result is a denial of service against the affected NF, which can ripple through the 5G core's signaling plane.

c
        ogs_assert(apiroot);

        rc = ogs_sbi_getpath_from_uri(&path, request->h.uri);
+       if (rc == false) {
+           ogs_error("Cannot extract path from URI [%s]", request->h.uri);
+           ogs_free(apiroot);
+           return false;
+       }
        ogs_assert(path);

        request->h.uri = ogs_msprintf("%s/%s", apiroot, path);

Source: Open5GS commit d5bc487fcf9ea87d2b03f2ef95123af344773bfb. The patch adds an explicit rc == false check, logs the malformed URI, frees apiroot, and aborts the send operation before the unsafe read occurs.

Detection Methods for CVE-2026-8186

Indicators of Compromise

  • Open5GS error log entries containing Cannot extract path from URI after the patch is applied, indicating malformed SBI callback URIs reaching the NF.
  • Unexpected crashes or restarts of Open5GS NF processes such as AMF, SMF, or NRF tied to SBI client activity.
  • Inbound SBI HTTP/2 requests carrying callback URIs that contain only a scheme and authority with no path component.

Detection Strategies

  • Inspect HTTP/2 SBI traffic on the 5G core service mesh for callback URIs missing a path segment and alert on anomalous URI shapes reaching SCP or SEPP relays.
  • Correlate NF process termination events with preceding inbound SBI requests to identify request-triggered crashes.
  • Monitor Open5GS application logs for assertion failures or abnormal exits from functions in lib/sbi/client.c.

Monitoring Recommendations

  • Forward Open5GS NF logs and host telemetry into a centralized analytics pipeline for crash and error correlation.
  • Track SBI peer behavior and rate of malformed URI rejections per source NF to surface scanning or fuzzing activity.
  • Baseline normal NF process uptime and alert on restart frequency anomalies in the 5G control plane.

How to Mitigate CVE-2026-8186

Immediate Actions Required

  • Apply Open5GS commit d5bc487fcf9ea87d2b03f2ef95123af344773bfb or upgrade to a release that includes pull request #4496.
  • Inventory all Open5GS deployments at or below version 2.7.7 and prioritize patching production NFs exposed to SBI peers.
  • Restrict SBI network reachability to trusted NFs using network policy, mutual TLS, and segmentation.

Patch Information

The upstream fix is published in the Open5GS repository as commit d5bc487fcf9ea87d2b03f2ef95123af344773bfb, merged via Open5GS pull request #4496. The patch validates the return value of ogs_sbi_getpath_from_uri, logs the offending URI, releases the apiroot allocation, and returns false instead of dereferencing an invalid path pointer. See the Open5GS GitHub repository for release artifacts and the original GitHub issue #4491 for additional context.

Workarounds

  • Place an SBI-aware reverse proxy in front of Open5GS NFs to reject HTTP/2 requests whose callback URIs lack a path component.
  • Limit SBI exposure to a private control-plane network and enforce mutual TLS between NFs to reduce the attacker pool.
  • Enable process supervision and automatic restart for Open5GS NFs to reduce service downtime while patching is scheduled.
bash
# Update Open5GS source to the patched commit and rebuild
git clone https://github.com/open5gs/open5gs.git
cd open5gs
git checkout d5bc487fcf9ea87d2b03f2ef95123af344773bfb
meson build --prefix=`pwd`/install
ninja -C build
ninja -C build install

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpen5gs

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-119
  • Technical References
  • GitHub Open5GS Repository

  • GitHub Issue #4491

  • VulDB Submission #800024

  • VulDB #362338

  • VulDB #362338 CTI
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Pull Request #4496
  • Related CVEs
  • CVE-2025-15176: Open5GS PFCP Handler RCE Vulnerability

  • CVE-2025-15531: Open5GS RCE Vulnerability via Assertion

  • CVE-2026-2521: Open5GS Memory Corruption RCE Vulnerability

  • CVE-2026-2522: Open5GS MME Component RCE Vulnerability
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