Critical Security Flaws in OpenSSH: Privilege Escalation and Command Execution Vulnerabilities

openssh Updated 21 May 2026

Summary

21/05/2026
N/A
Yes i
High
7.5

RLSA-2026:13381: Important: openssh security update. Affects openssh versions < 0:8.7p1-49.el9_7.rocky.0.1. Fixed in 0:8.7p1-49.el9_7.rocky.0.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

OpenSSH is a widely used implementation of the SSH protocol, essential for secure remote access to servers and systems across various operating systems, including Linux and UNIX. It provides both client and server functionalities, enabling secure file transfers and remote command execution. However, recent vulnerabilities have been identified that could potentially compromise the security of systems utilizing OpenSSH.

Vulnerability Detail

The vulnerabilities in OpenSSH stem from several issues, including privilege escalation via the legacy SCP protocol, security bypass through mishandling of authorized_keys, information disclosure due to unintended cryptographic algorithm usage, low integrity impact from unconfirmed proxy-mode multiplexing sessions, and arbitrary command execution via shell metacharacters in usernames. These vulnerabilities can lead to unauthorized access, data exposure, and execution of arbitrary commands, posing significant risks to system integrity and confidentiality.

How To Fix

Minimum fixed version

0:8.7p1-49.el9_7.rocky.0.1

This is the first release that contains the fix.

sudo dnf update openssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict the use of the legacy SCP protocol and review the configuration of the authorized_keys file to ensure proper handling of principals options. Additionally, avoid using shell metacharacters in usernames to prevent arbitrary command execution.

Conclusion

The recent vulnerabilities in OpenSSH highlight critical security risks that can lead to unauthorized access and data breaches. It is essential for users to update their OpenSSH installations to the latest patched version and implement recommended workarounds to enhance security. Regular monitoring and updates are vital to maintaining a secure environment.

See every vulnerability recorded for openssh →

Share this vulnerability

FAQ

OpenSSH is a suite of secure networking utilities based on the SSH protocol, providing encrypted communication over a computer network.

The main vulnerabilities include privilege escalation, security bypass, information disclosure, low integrity impact, and arbitrary command execution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by these vulnerabilities without needing to sign up.

The CVSS score of the vulnerabilities is 7.5, indicating a high severity level.

It is recommended to regularly check for updates and apply them promptly to ensure your system is protected against known vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for openssh.

How To Fix

Minimum fixed version

0:8.7p1-49.el9_7.rocky.0.1

This is the first release that contains the fix.

sudo dnf update openssh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback