The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-24058

CVE-2026-24058: Soft Serve Auth Bypass Vulnerability

CVE-2026-24058 is an authentication bypass vulnerability in Soft Serve Git server that allows attackers to impersonate any user including admins. This post covers technical details, affected versions, and mitigation.

Published: January 23, 2026

CVE-2026-24058 Overview

CVE-2026-24058 is a critical authentication bypass vulnerability in Soft Serve, a self-hostable Git server for the command line. Versions 0.11.2 and below are affected by this flaw which allows an attacker to impersonate any user, including administrators, by exploiting a session context issue during SSH key authentication. The vulnerability occurs because user identity is stored in the session context during the "offer" phase of SSH authentication and is not properly cleared if that specific authentication attempt fails.

Critical Impact

Attackers can impersonate any user including administrators by offering the victim's public key during SSH handshake before authenticating with their own valid key, leading to complete authentication bypass.

Affected Products

  • Soft Serve versions 0.11.2 and below
  • Self-hosted Git server deployments using vulnerable Soft Serve versions

Discovery Timeline

  • 2026-01-22 - CVE-2026-24058 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2026-24058

Vulnerability Analysis

This vulnerability falls under CWE-289: Authentication Bypass by Alternate Name. The flaw resides in Soft Serve's SSH authentication handling mechanism, specifically in how the server manages user identity during the multi-phase SSH handshake process. The issue allows an attacker with any valid SSH key to authenticate as any other user whose public key is known, effectively bypassing the authentication system entirely.

The vulnerability exploits a fundamental flaw in session state management during SSH authentication. When an SSH client "offers" a public key to check if the server would accept it for authentication, Soft Serve prematurely stores the associated user identity in the session context. This is intended to streamline the authentication process, but critically, this stored identity is not cleared when that particular key's authentication attempt fails or is abandoned.

Root Cause

The root cause lies in improper session state management during the SSH authentication process. When a client offers a public key during the SSH handshake, the server stores the user identity associated with that key in the session context. However, if the client subsequently authenticates using a different key (their own valid key), the session retains the previously stored user identity from the "offer" phase rather than updating it to reflect the actual authenticated user. This creates a disconnect between the cryptographic identity used for authentication and the user identity stored in the application session.

Attack Vector

The attack vector is network-based and requires the following conditions:

  1. The attacker must know or obtain the public SSH key of the victim they wish to impersonate (public keys are often easily discoverable on platforms like GitHub, GitLab, or personal websites)
  2. The attacker must have their own valid SSH key registered with the Soft Serve instance
  3. The attacker initiates an SSH connection and "offers" the victim's public key first
  4. Without completing authentication with the victim's key, the attacker then authenticates using their own valid private key
  5. The session context retains the victim's identity from the offer phase, granting the attacker access as the impersonated user

This attack is particularly dangerous because public SSH keys are designed to be shared and are commonly published openly. An attacker could trivially impersonate administrators if their public keys are known.

Detection Methods for CVE-2026-24058

Indicators of Compromise

  • SSH authentication logs showing multiple key offers in a single session before final authentication
  • User activity logs indicating actions performed by users who were not actually online at the time
  • Repository access or modifications attributed to users who deny performing those actions
  • Administrative operations performed by non-administrative accounts that somehow gained elevated privileges

Detection Strategies

  • Monitor SSH server logs for sessions that offer multiple different public keys before successful authentication
  • Implement correlation between SSH key authentication events and subsequent user actions to detect identity mismatches
  • Review access logs for anomalous administrative actions or repository changes
  • Deploy network monitoring to identify unusual SSH connection patterns targeting your Soft Serve instance

Monitoring Recommendations

  • Enable verbose SSH logging to capture the full authentication handshake including key offers
  • Implement audit logging for all Git operations with the authenticated user identity and the SSH key used
  • Set up alerts for any session where the offered key differs from the successfully authenticated key
  • Monitor for repository access patterns that deviate from normal user behavior

How to Mitigate CVE-2026-24058

Immediate Actions Required

  • Upgrade Soft Serve to version 0.11.3 or later immediately
  • Audit recent user activity logs for potential signs of impersonation attacks
  • Review administrative actions taken in the vulnerable period for unauthorized changes
  • Consider temporarily restricting external access to the Soft Serve instance until the patch is applied

Patch Information

The vulnerability has been fixed in Soft Serve version 0.11.3. The fix ensures that user identity stored during the SSH key "offer" phase is properly cleared if that authentication attempt does not complete successfully, preventing identity persistence across authentication phases.

For detailed information about the fix, refer to:

  • GitHub Security Advisory GHSA-pchf-49fh-w34r
  • GitHub Release v0.11.3
  • Security Fix Commit

Workarounds

  • If immediate upgrade is not possible, restrict network access to the Soft Serve instance to trusted IP ranges only
  • Implement additional authentication layers such as VPN requirements for accessing the Git server
  • Disable SSH access temporarily and use alternative access methods if available until patching is complete
  • Monitor authentication logs closely for any signs of exploitation attempts
bash
# Upgrade Soft Serve to patched version
# Using Go install:
go install github.com/charmbracelet/soft-serve/cmd/soft@v0.11.3

# Or download the latest release from GitHub
# https://github.com/charmbracelet/soft-serve/releases/tag/v0.11.3

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSoft Serve

  • SeverityHIGH

  • CVSS Score8.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/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
  • AvailabilityHigh
  • CWE References
  • CWE-289
  • Technical References
  • GitHub Commit Log

  • GitHub Release v0.11.3

  • GitHub Security Advisory GHSA-pchf-49fh-w34r
  • Related CVEs
  • CVE-2026-22253: Soft Serve Auth Bypass 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