SocWatch

CVE-2026-123158

Hoch 8,1 Aktiv ausgenutzt

OpenBSD OpenSSH Unexpected Status Code or Return Value Vulnerability

CVSS
8,1 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
89,63 % (höher als 99,8 % aller Lücken)
Veröffentlicht
05.11.2026
Zuletzt geändert
10.11.2026

Wird aktiv ausgenutzt

Seit 09.11.2026 in der CISA-Liste ausgenutzter Lücken (KEV). Betroffen: OpenBSD OpenSSH.

Empfohlene Maßnahme (CISA): Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

Öffentlicher Angriffscode

Fertige Exploits gefunden in: Metasploit.

5 Proofs of Concept auf GitHub, darunter gabrielunknown/CVE-2026-123158_SSHole, Maalfer/CVE-2026-123158, gotr00t0day/CVE-2026-123158. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.

Sofortmaßnahme: Passwort-Anmeldung per SSH abschalten (musl ohne PAM)

Anleitung

Betroffen ist sshd vor 10.6p2 unter Linux mit musl libc ohne PAM, zum Beispiel Alpine Linux: Bei manchen Konten wird jedes Passwort mit 256 bis 1024 Zeichen angenommen. Die Lücke wird aktiv ausgenutzt (KEV). Bis zum Update die Anmeldung per Passwort abschalten und nur Schlüssel zulassen.

  1. Vorher sicherstellen, dass die Anmeldung per Schlüssel funktioniert (eigener Schlüssel in ~/.ssh/authorized_keys), sonst sperrt man sich aus.

  2. In /etc/ssh/sshd_config:

    PasswordAuthentication no
    KbdInteractiveAuthentication no
    
  3. Prüfen und neu laden:

    sshd -t && rc-service sshd reload    # Alpine; sonst systemctl reload ssh
    

Prüfung

sshd -T | grep -iE 'passwordauthentication|kbdinteractiveauthentication'

Erwartet: beide no. Ein Anmeldeversuch mit Passwort wird abgewiesen (ssh -o PubkeyAuthentication=no benutzer@server endet mit Permission denied).

Rückweg

Nach dem Update auf OpenSSH 10.6p2 oder neuer die Zeilen entfernen, falls Passwörter gebraucht werden. Besser bleibt es bei Schlüsseln.

Quelle

Beschreibung

sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass (related to misinterpretation of whether a string is intended to be a password hash). For some configurations of accounts, any password between 256 and 1024 characters succeeds. An example of a platform using musl libc without PAM is Alpine Linux.

Betroffene Pakete

Paket Betroffen Behoben in
Alpine:v3.21 openssh alle Versionen vor 9.9_p2-r1 9.9_p2-r1
Alpine:v3.22 openssh alle Versionen vor 10.0_p1-r11 10.0_p1-r11
Alpine:v3.23 openssh alle Versionen vor 10.2_p1-r1 10.2_p1-r1
Alpine:v3.24 openssh alle Versionen vor 10.3_p1-r2 10.3_p1-r2
Debian:12 openssh alle Versionen, noch kein Fix noch kein Fix
Debian:13 openssh alle Versionen, noch kein Fix noch kein Fix
NVD openssh alle Versionen vor 10.6 10.6
Ubuntu:22.04:LTS openssh-ssh1 alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS openssh-ssh1 alle Versionen, noch kein Fix noch kein Fix

Quellen

Weitere Kennungen

UBUNTU-CVE-2026-123158 · DEBIAN-CVE-2026-123158 · ALPINE-CVE-2026-123158 · CWE-394

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.