bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-106552

6.5medium

openssh9.9p2in 4 of 4 releases

Reach openssh · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

In sftp in OpenSSH before 10.6, a server can trigger directory traversal (causing files to be written to unintended locations) during a recursive copy operation.

Published 2026-10-06NVD

CVSS 3.1Network · no privileges · user interaction

How it is reached

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required

What it costs

Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References 1
Review Av26.10.0x86_64Not exposed✓ accepted by a member, 2026-11-17 · settles 8 of 8

Fable 5.1 · medium confidence · 2026-11-05

The build ships OpenSSH 9.9p2 with 18 backported CVE patches, but none of them names CVE-2026-106552 or touches the sftp client's recursive copy path (download_dir_internal/sftp_download_dir in sftp-client.c, process_get in sftp.c), and 9.9p2 is well inside NVD's "before 10.6" range, so the build is affected.

The vulnerable code is in the sftp/scp *client* and is triggered by a malicious *server* during a recursive (-r) download; on a device it only runs if someone invokes sftp -r/scp -r from a shell against an attacker-controlled server.

The product's own management interface (CLI copy → src/bin/copy.c) calls scp without -r, and upgrade sftp://... goes through rauc/libcurl+libssh2, not OpenSSH.

sshd (the server) is unaffected by this CVE.

Evidence 10
  1. SSH_VERSION "OpenSSH_9.9" — inside NVD range (< 10.6)

    output/build/openssh-9.9p2/version.h:3

  2. 18 patches applied (CVE-2025-32728/61984/61985, CVE-2026-35385..35388/35414/59995..59997/59999..60002); none references CVE-2026-106552 or OpenSSH 10.6

    output/build/openssh-9.9p2/.applied_patches_list

  3. Only sftp/scp path patches present; they touch sftp.c interactive_loop and scp.c throughlocal_sftp, not the recursive download routines

    buildroot/package/openssh/0012-CVE-2026-59995.patch, 0013-CVE-2026-59996.patch

  4. Recursive download loop: '.'/'..' only skipped when the server marks the entry as a directory; no later hardening present

    output/build/openssh-9.9p2/sftp-client.c:1940-1983 (download_dir_internal)

  5. Destination built from basename() of server-controlled glob results with no '..' special-case (unlike scp.c:2049)

    output/build/openssh-9.9p2/sftp.c:681-716 (process_get)

  6. BR2_PACKAGE_OPENSSH=y, OPENSSH_CLIENT=y, OPENSSH_SERVER=y — package selected for target

    output/.config:3429-3431; configs/x86_64_defconfig:93

  7. scp and sftp client binaries are installed in the image

    buildroot/package/openssh/openssh.mk:147-148; output/target/usr/bin/{scp,sftp}

  8. CLI `copy` invokes scp with only -o StrictHostKeyChecking=no [-P port]; no -r, so the recursive copy path is never used by the product interface

    src/bin/copy.c:573-633 (scp_upload/scp_download)

  9. CLI `upgrade sftp://...` runs `rauc install`, i.e. libcurl/libssh2 (output/.config:2188 BR2_PACKAGE_LIBSSH2=y), not the OpenSSH client

    src/klish-plugin-infix/xml/infix.xml:1226-1232

  10. Reaching the code requires an admin to enter the system shell and manually run `sftp -r`/`scp -r` against a malicious server

    src/klish-plugin-infix/xml/shell.xml:9

Version and patches

NVD: OpenSSH before 10.6 affected; fixed in 10.6. Build: 9.9p2 + 18 Buildroot patches, the newest dated July 2026 (CVE-2026-6000x); no patch for CVE-2026-106552. The 10.6 fix commit could not be fetched (no network), so the exact hunk was not matched, but the recursive-copy routines show no post-9.9 hardening beyond upstream's existing '/' filter in sftp_lsreaddir (sftp-client.c:807).

Recommendation

Document as not exposed on shipped devices; pick up the OpenSSH 10.6 backport (or Buildroot's eventual CVE-2026-106552 patch) at the next routine openssh bump, since sftp/scp -r are present for operators who use the shell. No urgent action.

Open questions

The exact upstream 10.6 fix commit was not available in the tree, so the specific vulnerable hunk is inferred from the description (sftp client recursive download) rather than confirmed by diff. If the fix turns out to be in sftp-server (unlikely given "a server can trigger"), the exposure analysis would need revisiting since sshd/internal-sftp is enabled by default.

Members of Kernel Kit decide. Sign in if you are one.