CVE-2025-61984

LOW

OpenSSH < 10.1 - Remote Code Execution via Control Characters in Username

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2025-61984. PoCs published by dgl, flyskyfire.

AI-analyzed exploit summary This PoC exploits CVE-2025-61984 by injecting a newline into OpenSSH's ProxyCommand configuration to execute arbitrary commands. The exploit leverages shell interpretation of the %r variable in unquoted ProxyCommand arguments.

Description

ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leading to code execution when a ProxyCommand is used. The untrusted sources are the command line and %-sequence expansion of a configuration file. (A configuration file that provides a complete literal username is not categorized as an untrusted source.)

Exploits (2)

github WORKING POC 7 stars
by dgl · shellpoc
https://github.com/dgl/cve-2025-61984-poc

This PoC exploits CVE-2025-61984 by injecting a newline into OpenSSH's ProxyCommand configuration to execute arbitrary commands. The exploit leverages shell interpretation of the %r variable in unquoted ProxyCommand arguments.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: OpenSSH < 10.1
No auth needed
Prerequisites: OpenSSH < 10.1 with ProxyCommand configured · Unquoted %r in ProxyCommand arguments
MITRE ATT&CK
devstral-2 · analyzed Feb 19, 2026 Full analysis →
github TROJAN
by flyskyfire · shellpoc
https://github.com/flyskyfire/cve-2025-61984-poc

The repository contains a deceptive script that initiates a reverse shell to a hardcoded IP address, masquerading as a PoC for CVE-2025-61984. No legitimate exploit code or technical details about the vulnerability are present.

Classification
Trojan 95%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
Prerequisites: none
MITRE ATT&CK
devstral-2 · analyzed Feb 19, 2026 Full analysis →

Scores

CVSS v3 3.6
EPSS 0.0022
EPSS Percentile 12.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-159
Status published
Products (1)
OpenBSD/OpenSSH < 10.1
Published Oct 06, 2025
Tracked Since Feb 18, 2026