Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryendpoint-software-vulnerabilityidentity-authentication-vulnerabilityprivilege-escalation-technique

OpenSSH 10.3 Fixes Shell Injection and Multiple SSH/sshd Security Flaws

Patch & Detection Intelligence · 10 sources · Updated 5mo ago · First seen Apr 2, 2026

OpenSSH 10.3 Fixes Shell Injection and Multiple SSH/sshd Security Flaws

OpenSSH 10.3 has been released with five security fixes affecting both the ssh client and sshd, led by a shell-injection risk in ssh(1) where attacker-controlled usernames could trigger arbitrary shell command execution in configurations that use %-token expansion such as %u inside Match exec blocks. The release also fixes improper certificate principal matching in authorized_keys, incorrect acceptance behavior around restricted ECDSA algorithms, and a legacy scp(1) issue that could preserve setuid/setgid bits on downloaded files when run as root under specific conditions.

The update changes certificate handling so empty principals sections no longer act as wildcard matches in risky scenarios, adds command-line validation for ProxyJump/-J to reduce shell-injection exposure, and includes a portability fix for a PAM-related username confusion issue introduced in the OpenSSH 10.2p1 stable branch. OpenSSH 10.3 also drops support for peers that do not implement rekeying and adds operational improvements including IANA-assigned SSH agent forwarding codepoints, per-source penalties for invalid usernames, better multiplexing diagnostics, and fixes for PKCS#11 PIN entry, FIDO/WebAuthn certificate signatures, and an sshd crash condition.

Why it matters

Impact assessment

OpenSSH deployments using the ssh client, sshd, or legacy scp are affected, with the highest risk concentrated in environments that programmatically construct ssh command lines, use ssh_config Match exec or LocalCommand directives with %-token expansion, rely on authorized_keys CA trust patterns, or still use scp legacy mode as root. The most serious outcome is arbitrary shell command execution on the client side when attacker-controlled usernames or ProxyJump values are passed into unsafe ssh invocations; additional issues can weaken authentication policy enforcement or preserve dangerous file permission bits.

The exposure is broad because OpenSSH is widely deployed, but practical exploitation is configuration-dependent for most issues. The story does not provide confirmed in-the-wild exploitation, but the release addresses multiple security flaws with direct security impact and assigned CVEs.

Affected populations

  • Enterprises, cloud operators, managed service providers, and developers using OpenSSH 10.2/10.2p1-era and earlier client/server deployments prior to 10.3/10.3p1
  • Administrators exposing ssh command-line parameters to user-controlled or application-controlled input
  • Environments using ssh_config directives such as Match exec and LocalCommand
  • Environments using authorized_keys with principals="" and user-trusted CA keys
  • Systems using legacy scp mode with scp -O as root
  • Deployments restricting ECDSA algorithms via PubkeyAcceptedAlgorithms or HostbasedAcceptedAlgorithms

Severity and business effect

  • Client-side command execution can lead to workstation compromise, credential theft, lateral movement, and automation pipeline abuse
  • Authentication-policy flaws in sshd can permit broader-than-intended certificate acceptance under narrow but high-impact trust configurations
  • Legacy scp permission handling can preserve setuid/setgid bits on downloaded files, increasing local privilege abuse risk
  • Rekeying compatibility removal may cause operational disruption with legacy SSH implementations after upgrade

Known exploitation status

  • No confirmed exploitation in the wild is cited in the references
  • Multiple issues were serious enough to receive CVE assignments and vendor fixes in OpenSSH 10.3
Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Apr 2, 2026 – Apr 3, 2026
  1. Apr 3, 20268mo ago

    CVE identifiers disclosed for OpenSSH 10.3 security fixes

    An oss-sec discussion noted that MITRE had apparently assigned five CVE IDs to the vulnerabilities fixed in OpenSSH 10.3: CVE-2026-35414, CVE-2026-35385, CVE-2026-35386, CVE-2026-35387, and CVE-2026-35388. The identifiers covered issues affecting ssh, sshd, and scp that were patched in the 10.3 release.

    oss-sec: Re: Announce: OpenSSH 10.3 released
  2. Apr 2, 20268mo ago

    OpenSSH 10.3 released with five security fixes

    OpenSSH 10.3 was announced on 2026-04-02 by Damien Miller. The release patched multiple security issues, including an ssh client shell-injection risk via attacker-controlled usernames, several sshd certificate and algorithm-handling flaws, unsafe legacy scp handling of setuid/setgid bits, and a PAM-related username confusion issue in the portable branch.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Openssh
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.