Skip to content
Fencer Vulns
medium 4.2

CVE-2026-59996 json

scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when...

published 2026-07-08 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42138 , GHSA-8v2x-fhq9-4fv3 , JLSEC-2026-1320

cvss
4.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 16%
public exploits
0
none known

Summary

scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when the copy occurs between two remote destinations.

Patch / fix

  • julia OpenSSH_jll 10.4.1+0
  • OpenBSD OpenSSH 10.4
  • openssh Debian 14 1:10.4p1-1

debian advisories DEBIAN-CVE-2026-59996

  • openssh Ubuntu 22.04 LTS 1:8.9p1-3ubuntu0.16
  • openssh Ubuntu 24.04 LTS 1:9.6p1-3ubuntu13.18
  • openssh Ubuntu 26.04 LTS 1:10.2p1-2ubuntu3.4
  • openssh Ubuntu Pro FIPS-updates 22.04 LTS 1:8.9p1-3ubuntu0.16+Fips3
  • openssh Ubuntu Pro FIPS-updates 24.04 LTS 1:9.6p1-3ubuntu13.18+Fips1

ubuntu advisories UBUNTU-CVE-2026-59996

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh RHEL 10.2 9.9p1-25.el10_2
  • openssh-keycat RHEL 10.2 9.9p1-25.el10_2
  • openssh-server RHEL 10.2 9.9p1-25.el10_2
  • openssh-askpass RHEL 10.2 9.9p1-25.el10_2
  • openssh-clients RHEL 10.2 9.9p1-25.el10_2
  • openssh-keysign RHEL 10.2 9.9p1-25.el10_2
  • openssh RHEL 9 9.9p1-9.el9_8
  • openssh-keycat RHEL 9 9.9p1-9.el9_8

red hat advisories RHSA-2026:80513RHSA-2026:76993RHSA-2026:76748RHSA-2026:47757RHSA-2026:47756RHSA-2026:37382

  • openssh Linux Micro 6.0 9.6p1-159998.2.1
  • openssh Linux Micro 6.1 9.6p1-slfo.1.1_7.1
  • openssh SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 9.6p1-150600.6.49.1
  • openssh-askpass-gnome SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Desktop Applications 15 SP7 9.6p1-150600.6.49.1
  • openssh Linux Micro 6.2 10.0p2-160000.7.1

suse advisories SUSE-SU-2026:24478-1SUSE-SU-2026:24382-1SUSE-SU-2026:3605-1SUSE-SU-2026:22978-1

  • openssh openSUSE Leap 16.0 10.0p2-160000.7.1
  • openssh-askpass-gnome openSUSE Leap 16.0 10.0p2-160000.7.1

opensuse advisories openSUSE-SU-2026:21477-1

  • openssh AlmaLinux 9 9.9p1-9.el9_8.alma.1
  • openssh-keycat AlmaLinux 9 9.9p1-9.el9_8.alma.1
  • openssh-server AlmaLinux 9 9.9p1-9.el9_8.alma.1
  • openssh-askpass AlmaLinux 9 9.9p1-9.el9_8.alma.1
  • openssh-clients AlmaLinux 9 9.9p1-9.el9_8.alma.1
  • pam_ssh_agent_auth AlmaLinux 9 0.10.4-7.9.el9_8.alma.1
  • openssh AlmaLinux 10 9.9p1-25.el10_2.alma.1
  • openssh-keycat AlmaLinux 10 9.9p1-25.el10_2.alma.1

almalinux advisories ALSA-2026:47756ALSA-2026:47757

  • openssh Rocky Linux 9 9.9p1-9.el9_8.rocky.0.1
  • openssh Rocky Linux 10 9.9p1-25.el10_2.rocky.0.1

rocky linux advisories RLSA-2026:47756RLSA-2026:47757

  • openssh Alpine 3.24 10.3_p1-r1

alpine advisories ALPINE-CVE-2026-59996

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh Azure Linux 3.0 9.8p1-9

azure linux advisories AZL-92039

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-59996 updated cvss 4.6

openssh: OpenSSH: `scp` file misplacement vulnerability during remote copy

  • Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 9) openssh-askpass 9.9p1-9.el9_8, pam_ssh_agent_auth 0.10.4-7.9.el9_8
    fixed: vendor fix RHSA-2026:47756
  • Red Hat Enterprise Linux AppStream (v. 10) openssh-askpass 9.9p1-25.el10_2, openssh-keysign 9.9p1-25.el10_2
    fixed: vendor fix RHSA-2026:47757
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) openssh-askpass 8.7p1-30.el9_2.13, pam_ssh_agent_auth 0.10.4-5.30.el9_2.13
    fixed: vendor fix RHSA-2026:89739
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) openssh-askpass 9.9p1-7.el10_0.5, openssh-keysign 9.9p1-7.el10_0.5
    fixed: vendor fix RHSA-2026:76748
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) openssh-askpass 8.7p1-45.el9_6.5, pam_ssh_agent_auth 0.10.4-5.45.el9_6.5
    fixed: vendor fix RHSA-2026:80513
  • Red Hat Enterprise Linux BaseOS (v. 9) openssh 9.9p1-9.el9_8, openssh-keycat 9.9p1-9.el9_8, openssh-server 9.9p1-9.el9_8, openssh-clients 9.9p1-9.el9_8
    fixed: vendor fix RHSA-2026:47756
  • Red Hat Enterprise Linux BaseOS (v. 10) openssh 9.9p1-25.el10_2, openssh-keycat 9.9p1-25.el10_2, openssh-server 9.9p1-25.el10_2, openssh-clients 9.9p1-25.el10_2
    fixed: vendor fix RHSA-2026:47757
show 14 more
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) openssh 8.7p1-30.el9_2.13, openssh-keycat 8.7p1-30.el9_2.13, openssh-server 8.7p1-30.el9_2.13
    fixed: vendor fix RHSA-2026:89739
  • Red Hat Enterprise Linux BaseOS E4S (v.9.4) openssh-clients 8.7p1-38.el9_4.10
    fixed: vendor fix RHSA-2026:76993
  • Red Hat Enterprise Linux BaseOS EUS (v. 10.0) openssh 9.9p1-7.el10_0.5, openssh-keycat 9.9p1-7.el10_0.5, openssh-server 9.9p1-7.el10_0.5, openssh-clients 9.9p1-7.el10_0.5
    fixed: vendor fix RHSA-2026:76748
  • Red Hat Enterprise Linux BaseOS EUS (v.9.6) openssh 8.7p1-45.el9_6.5, openssh-keycat 8.7p1-45.el9_6.5, openssh-server 8.7p1-45.el9_6.5, openssh-clients 8.7p1-45.el9_6.5
    fixed: vendor fix RHSA-2026:80513
  • Red Hat Hardened Images openssh 10.4p1-1.hum1, openssh-keycat 10.4p1-1.hum1, openssh-server 10.4p1-1.hum1, openssh-askpass 10.4p1-1.hum1, openssh-clients 10.4p1-1.hum1, openssh-keysign 10.4p1-1.hum1, +1 more
    fixed: vendor fix RHSA-2026:37382
  • Red Hat OpenShift AI 3.0 rhai/base-image-cpu-rhel9 1791818589, rhai/base-image-cpu-rhel9 1793042072, rhai/base-image-tpu-rhel9 1791818496, rhai/base-image-cuda-rhel9 1791818590, rhai/base-image-rocm-rhel9 1791818502, rhai/base-image-spyre-rhel9 1791818505
    fixed: vendor fix RHSA-2026:91232
  • Red Hat OpenShift AI 3.2 rhai/base-image-cpu-rhel9 1791818598, rhai/base-image-tpu-rhel9 1791818512, rhai/base-image-cuda-rhel9 1791818587, rhai/base-image-rocm-rhel9 1791818512, rhai/base-image-rocm-rhel9 1791818778, rhai/base-image-spyre-rhel9 1791818602
    fixed: vendor fix RHSA-2026:82759
  • Red Hat OpenShift AI 3.3 rhai/base-image-cpu-rhel9 1791818874, rhai/base-image-tpu-rhel9 1791818782, rhai/base-image-spyre-rhel9 1791818877, rhai/base-image-neuron-rhel9 1791818792, rhai/base-image-rocm-6.4-rhel9 1791818782, rhai/base-image-rocm-7.0-rhel9 1791818790, +2 more
    fixed: vendor fix RHSA-2026:82902
  • Red Hat OpenShift AI 3.4 rhai/base-image-cpu-rhel9 1791885618, rhai/base-image-tpu-rhel9 1791881769, rhai/base-image-gaudi-rhel9 1791881486, rhai/base-image-spyre-rhel9 1791881732, rhai/base-image-neuron-rhel9 1791883722, rhai/base-image-rocm-6.4-rhel9 1791881487, +3 more
    fixed: vendor fix RHSA-2026:82753
  • Red Hat OpenShift AI 3.5 rhai/base-image-cpu-rhel9 1791819206, rhai/base-image-tpu-rhel9 1791818901, rhai/base-image-gaudi-rhel9 1791818749, rhai/base-image-rubin-rhel9 1791820333, rhai/base-image-spyre-rhel9 1791819252, rhai/base-image-neuron-rhel9 1791818979, +3 more
    fixed: vendor fix RHSA-2026:82908
  • Red Hat Update Infrastructure 5 rhui5/rhua-rhel9 1786533529, rhui5/rhua-tp-rhel9 1787241260, rhui5/installer-rhel9 1786435483, rhui5/installer-tp-rhel9 1787135742
    fixed: vendor fix RHSA-2026:54387
  • Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_auth Red Hat Enterprise Linux 7 openssh, openssh-cavs, openssh-ldap, openssh-keycat, openssh-server, openssh-askpass, +3 more
    not affected: vulnerable code not present
  • Red Hat Enterprise Linux 8 openssh, openssh-cavs, openssh-ldap, openssh-keycat, openssh-server, openssh-askpass, +2 more
    not affected: component not present
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) pam_ssh_agent_auth-debuginfo 0.10.4-5.30.el9_2.13 Red Hat Enterprise Linux AppStream E4S (v.9.4) openssh-askpass 8.7p1-38.el9_4.10, pam_ssh_agent_auth 0.10.4-5.38.el9_4.10 Red Hat Enterprise Linux AppStream EUS (v. 10.0) openssh-debuginfo 9.9p1-7.el10_0.5, openssh-debugsource 9.9p1-7.el10_0.5, openssh-keycat-debuginfo 9.9p1-7.el10_0.5, openssh-server-debuginfo 9.9p1-7.el10_0.5, openssh-askpass-debuginfo 9.9p1-7.el10_0.5, openssh-clients-debuginfo 9.9p1-7.el10_0.5, +2 more Red Hat Enterprise Linux AppStream EUS (v.9.6) openssh-debuginfo 8.7p1-45.el9_6.5, openssh-debugsource 8.7p1-45.el9_6.5, openssh-keycat-debuginfo 8.7p1-45.el9_6.5, openssh-server-debuginfo 8.7p1-45.el9_6.5, openssh-askpass-debuginfo 8.7p1-45.el9_6.5, openssh-clients-debuginfo 8.7p1-45.el9_6.5, +2 more Red Hat Enterprise Linux BaseOS E4S (v.9.2) openssh-clients 8.7p1-30.el9_2.13 Red Hat Enterprise Linux BaseOS E4S (v.9.4) openssh 8.7p1-38.el9_4.10, openssh-keycat 8.7p1-38.el9_4.10, openssh-server 8.7p1-38.el9_4.10
    +3 more products
    Red Hat Enterprise Linux BaseOS EUS (v. 10.0) openssh-debuginfo 9.9p1-7.el10_0.5, openssh-debugsource 9.9p1-7.el10_0.5, openssh-keycat-debuginfo 9.9p1-7.el10_0.5, openssh-server-debuginfo 9.9p1-7.el10_0.5, openssh-askpass-debuginfo 9.9p1-7.el10_0.5, openssh-clients-debuginfo 9.9p1-7.el10_0.5, +2 more Red Hat Enterprise Linux BaseOS EUS (v.9.6) openssh-debuginfo 8.7p1-45.el9_6.5, openssh-debugsource 8.7p1-45.el9_6.5, openssh-keycat-debuginfo 8.7p1-45.el9_6.5, openssh-server-debuginfo 8.7p1-45.el9_6.5, openssh-askpass-debuginfo 8.7p1-45.el9_6.5, openssh-clients-debuginfo 8.7p1-45.el9_6.5, +2 more Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1786533457, rhui5/cds-tp-rhel9 1787241206, rhui5/haproxy-rhel9 1786533449, rhui5/cds-kubernetes-rhel9 1786435241, rhui5/cds-kubernetes-tp-rhel9 1787241211
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.2 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
OSV 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected packages

ecosystem package affected fixed in
julia OpenSSH_jll
<10.4.1+0
10.4.1+0

Affected products

  • OpenBSD OpenSSH

Classification

Weakness
  • CWE-23 Relative Path Traversal

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.