Moderate Security Vulnerability in OpenSSH: Code Execution Risks via ProxyCommand

openssh Updated 24 Dec 2025

Summary

17/12/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:23481: Moderate: openssh security update. Affects openssh versions < 8.0p1-27.el8_10. Fixed in 8.0p1-27.el8_10. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

OpenSSH is a widely used implementation of the SSH (Secure Shell) protocol, providing secure communication over unsecured networks. It is essential for remote server management and secure file transfers. OpenSSH includes both client and server components, making it a critical tool for system administrators and developers. However, recent vulnerabilities have been identified that could allow malicious actors to exploit certain features, leading to potential code execution risks.

Vulnerability Detail

The vulnerability arises from the handling of control characters in usernames and null characters in ssh:// URIs within the OpenSSH implementation. Specifically, these issues can be exploited through the ProxyCommand feature, which allows users to specify a command to connect to the server. If an attacker can manipulate the username or URI, they may execute arbitrary code on the server, leading to severe security breaches.

How To Fix

Minimum fixed version

8.0p1-27.el8_10

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 measure, users can avoid using ProxyCommand with usernames or URIs that contain control characters or null characters until the packages are updated.

Conclusion

In summary, the identified vulnerabilities in OpenSSH pose significant security risks that can lead to code execution through manipulated usernames and URIs. It is crucial for users to update their packages to the latest patched versions to mitigate these risks. Temporary workarounds can be employed until updates are feasible.

See every vulnerability recorded for openssh →

Share this vulnerability

FAQ

OpenSSH is an open-source implementation of the SSH protocol, providing secure encrypted communications over a computer network.

The risks include potential unauthorized code execution on the server, which could lead to data breaches or system compromises.

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

If immediate updates are not possible, avoid using ProxyCommand with vulnerable usernames or URIs as a temporary workaround.

More details can be found on the CVE pages linked in the advisory, specifically CVE-2025-61984 and CVE-2025-61985.

Related vulnerabilities

Recent vulnerabilities recorded for openssh.

How To Fix

Minimum fixed version

8.0p1-27.el8_10

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