bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-106587

3.3low

openssh9.9p2in 4 of 4 releases

Reach openssh · 8 builds in 4 of 4 releases

full reviewcross-check✓ a member decided

Description · NVD

In sshd in OpenSSH before 10.6, the value "none" for a configuration option is sometimes interpreted as a filename but was intended to mean that a feature is disabled.

Published 2026-10-06NVD

CVSS 3.1Local · low privileges · no user interaction

How it is reached

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None

What it costs

Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged

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

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

Fable 5.1 · high confidence · 2026-11-05

OpenSSH 9.9p2 in this tree is unfixed: the "none" value for filename options (Banner, TrustedUserCAKeys, RevokedKeys, AuthorizedPrincipalsFile) is cleared only for the global config in fill_default_server_options, while copy_set_server_options copies the literal "none" from Match blocks and sshd then uses it as a path; none of the 18 applied patches touch this. sshd is built and runs by default on port 22, but the bug is only triggered by an sshd_config that sets one of these options to "none" in a Match block. Infix's shipped sshd_config fragments and the confd-generated ones (HostKey, ListenAddress, a Match LocalPort 830 block with ForceCommand/PermitTTY/AllowTcpForwarding/X11Forwarding) contain no such value, and the infix-services:ssh YANG model exposes only enabled/hostkey/listen/netconf, so an operator cannot create the condition via NETCONF/RESTCONF/CLI/web UI. Reaching it requires a root shell to hand-edit /etc/ssh/sshd_config.d.

Evidence 10
  1. 18 patches applied, all for other CVEs or DisableForwarding; none touches 'none' handling in servconf.c

    output/build/openssh-9.9p2/.applied_patches_list

  2. 'none' is translated to NULL only for the global config

    output/build/openssh-9.9p2/servconf.c:501-536 (CLEAR_ON_NONE in fill_default_server_options)

  3. Match-block banner, trusted_user_ca_keys, revoked_keys_file, authorized_principals_file are copied as literal 'none'; only adm_forced_command and chroot_directory are cleared

    output/build/openssh-9.9p2/servconf.c:2941-2985 and servconf.h:288-318 (copy_set_server_options / COPY_MATCH_STRING_OPTS)

  4. those option strings are used directly as file paths - the vulnerable behaviour, unfixed

    output/build/openssh-9.9p2/auth2.c:113, auth.c:552-561, auth2-pubkey.c:495-506

  5. sshd is built; servconf.c is core sshd with no configure option to disable it

    output/.config BR2_PACKAGE_OPENSSH_SERVER=y

  6. factory default: infix-services:ssh enabled, listening on 0.0.0.0:22 and [::]:22 (network reachable)

    src/confd/share/factory.d/10-infix-services.json

  7. confd enables sshd finit service when ssh is enabled

    src/confd/src/services.c:682-683; output/target/etc/finit.d/available/sshd.conf

  8. shipped config has no 'none' value and no Match block (Banner /etc/banner, AuthorizedKeysFile /var/run/sshd/%u.keys, UsePAM, Subsystems)

    board/common/rootfs/etc/ssh/sshd_config and sshd_config.d/*.conf; output/target/etc/ssh/sshd_config.d/netconf.conf

  9. confd only generates HostKey, ListenAddress and a 'Match LocalPort 830' block with ForceCommand/PermitTTY/AllowTcpForwarding/X11Forwarding; no filename option set to 'none'

    src/confd/src/services.c:72-75, 701-770

  10. YANG exposes only enabled, hostkey, listen{name,address,port}, netconf/enabled; no way to set Banner/TrustedUserCAKeys/RevokedKeys/AuthorizedPrincipalsFile or raw sshd_config

    src/confd/yang/confd/infix-services.yang container ssh

Version and patches

Affected: sshd in all OpenSSH before 10.6; 9.9p2 is in range. No Buildroot patch or stable backport in this tree addresses it (Match-block 'none' copy in copy_set_server_options unchanged). Fixed upstream in OpenSSH 10.6.

Recommendation

Document as not applicable in the shipped configuration (low priority); pick up the fix with the next routine OpenSSH bump rather than backporting. Triggering requires a root shell to hand-edit /etc/ssh/sshd_config.d with a 'none' filename option inside a Match block; the product's management interfaces cannot produce that configuration, and the impact is a local config misinterpretation (CVSS AV:L, I:L), not a remote attack surface.

Open questions

Exact upstream 10.6 fix commit was not available offline; identification of the affected options is based on code review of servconf.c 'none' handling (global vs Match block) matching the CVE wording. Even if the fix also covers another option, the conclusion holds because Infix sets no sshd option to 'none' anywhere.

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