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

CVE-2026-35387: OpenSSH ECDSA Algorithm Vulnerability

CVE-2026-35387 is an ECDSA algorithm configuration flaw in OpenSSH before 10.3 that causes misinterpretation of algorithm settings. This post covers the technical details, affected versions, security impact, and mitigation.

Published: April 2, 2026

CVE-2026-35387 Overview

OpenSSH before version 10.3 contains a configuration misinterpretation vulnerability that affects ECDSA algorithm handling. When any ECDSA algorithm is listed in the PubkeyAcceptedAlgorithms or HostbasedAcceptedAlgorithms configuration options, the OpenSSH server incorrectly interprets this as meaning all ECDSA algorithms are permitted. This improper control flow implementation (CWE-670) can lead to unintended cryptographic algorithm acceptance, potentially weakening the security posture of affected SSH deployments.

Critical Impact

Systems may accept ECDSA algorithms that administrators did not intend to enable, potentially allowing authentication using weaker or deprecated cryptographic curves than intended by the security policy.

Affected Products

  • OpenSSH versions prior to 10.3
  • OpenSSH 10.3p1 and earlier portable versions
  • Systems using PubkeyAcceptedAlgorithms or HostbasedAcceptedAlgorithms with ECDSA entries

Discovery Timeline

  • April 2, 2026 - CVE-2026-35387 published to NVD
  • April 2, 2026 - Last updated in NVD database

Technical Details for CVE-2026-35387

Vulnerability Analysis

This vulnerability stems from improper control flow management within OpenSSH's algorithm configuration parsing logic. When administrators configure specific ECDSA algorithms in either PubkeyAcceptedAlgorithms or HostbasedAcceptedAlgorithms directives, the parsing mechanism fails to properly restrict the accepted algorithms to only those explicitly specified.

The root issue lies in how OpenSSH processes algorithm lists containing any ECDSA variant. Rather than treating each algorithm specification as a distinct, explicit permission, the parser incorrectly expands a single ECDSA algorithm entry to encompass the entire family of ECDSA algorithms. This behavior directly contradicts administrator intent and documented configuration semantics.

From a practical security standpoint, this could allow an attacker with access to keys using different ECDSA curves to authenticate to a server, even when the administrator specifically configured to accept only certain ECDSA variants. The network-based attack vector requires the attacker to possess valid credentials for an unintended but enabled ECDSA algorithm.

Root Cause

The vulnerability is classified under CWE-670 (Always-Incorrect Control Flow Implementation). The OpenSSH configuration parser improperly handles ECDSA algorithm specifications, failing to distinguish between individual algorithm entries and treating any ECDSA listing as a wildcard for all ECDSA algorithms. This represents a logic error in the algorithm matching and validation code path.

Attack Vector

The vulnerability is exploitable over the network with low privileges required. An attacker must possess SSH credentials (public/private key pair) using an ECDSA algorithm that was not explicitly intended to be accepted. The attack scenario requires:

  1. A target OpenSSH server configured with specific ECDSA algorithm restrictions
  2. The attacker possessing a valid user account with an ECDSA key using a different curve than intended
  3. Network access to the SSH service

The vulnerability allows authentication bypass of the intended cryptographic algorithm policy, though the attacker still requires valid credentials. Due to the requirement for existing credentials and specific configuration conditions, the exploitability is limited, which contributes to the lower severity classification.

Detection Methods for CVE-2026-35387

Indicators of Compromise

  • Successful SSH authentications using ECDSA algorithms not explicitly listed in PubkeyAcceptedAlgorithms or HostbasedAcceptedAlgorithms
  • Authentication log entries showing unexpected ECDSA curve usage during key exchange
  • SSH connections utilizing ecdsa-sha2-nistp384 or ecdsa-sha2-nistp521 when only ecdsa-sha2-nistp256 was configured (or vice versa)

Detection Strategies

  • Review SSH authentication logs (/var/log/auth.log or /var/log/secure) for algorithm negotiation details
  • Enable verbose SSH logging (LogLevel VERBOSE or DEBUG) to capture detailed algorithm selection information
  • Audit current sshd_config files for any ECDSA algorithm entries in PubkeyAcceptedAlgorithms or HostbasedAcceptedAlgorithms
  • Compare accepted authentication algorithms against security policy requirements

Monitoring Recommendations

  • Implement centralized log collection for SSH authentication events across all affected systems
  • Create alerts for authentication events using ECDSA algorithms that deviate from organizational policy
  • Regularly audit SSH server configurations to identify systems using ECDSA algorithm restrictions
  • Monitor for SSH configuration file changes that introduce ECDSA algorithm specifications

How to Mitigate CVE-2026-35387

Immediate Actions Required

  • Upgrade OpenSSH to version 10.3 or later where this issue has been resolved
  • Review all SSH server configurations for PubkeyAcceptedAlgorithms and HostbasedAcceptedAlgorithms directives containing ECDSA entries
  • If unable to upgrade immediately, consider removing all ECDSA algorithms from accepted lists if only specific curves are required
  • Audit user SSH keys to identify which ECDSA curves are currently in use across the organization

Patch Information

The OpenSSH development team has addressed this vulnerability in version 10.3p1. Detailed release information is available in the OpenSSH 10.3p1 Release Notes. Additional technical discussion can be found in the OpenSSH Development Discussion and the Openwall OSS Security Mailing List.

Organizations should obtain updates through their operating system vendor's package management system or compile from source using the official OpenSSH release.

Workarounds

  • Remove ECDSA algorithms entirely from PubkeyAcceptedAlgorithms and HostbasedAcceptedAlgorithms if strict curve control is required
  • Transition to Ed25519 keys which are not affected by this algorithm expansion issue
  • Implement network-level access controls to limit SSH access to trusted sources while awaiting patching
  • Use certificate-based authentication with explicit algorithm constraints as an alternative authentication method
bash
# Configuration example - Remove ECDSA algorithms until patched
# Edit /etc/ssh/sshd_config

# If you previously had ECDSA algorithms listed, remove them:
# PubkeyAcceptedAlgorithms ssh-ed25519,rsa-sha2-512,rsa-sha2-256

# Or upgrade to OpenSSH 10.3+ and restart sshd:
# systemctl restart sshd

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechOpenssh

  • SeverityLOW

  • CVSS Score3.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-670
  • Technical References
  • OpenSSH Development Discussion

  • OpenSSH 10.3p1 Release Notes

  • Openwall OSS Security Mailing List
  • Related CVEs
  • CVE-2025-32728: OpenBSD OpenSSH Forwarding Vulnerability

  • CVE-2026-35414: OpenSSH Information Disclosure Vulnerability

  • CVE-2026-35388: OpenSSH Privilege Escalation Vulnerability

  • CVE-2026-35386: OpenSSH RCE Vulnerability via Metacharacters
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