sshole OpenSSH bypass (CVE-2026-123158)
sshole: OpenSSH password bypass on musl and Alpine logs attackers into disabled accounts, exploited since 7 Nov
Posted · Updated · Spectrum Delta Research Team
Summary
Unattributed actors are exploiting "sshole" (CVE-2026-123158), an OpenSSH password-authentication bypass on Alpine Linux non-PAM openssh-server and possibly other musl systems. A remote attacker logs into an account whose /etc/shadow field is * by sending a 257 to 1,024 byte password when another local account has a $5$ or $6$ hash. Alpine fixed branches 3.16 to 3.24 and edge (Alpine, A/1); OpenSSH fixed it in 10.6p2. CISA added it to KEV on 9 Nov 2026. GreyNoise saw the first successful exploitation on 7 Nov at 00:46 UTC and 16 chains from six source IPs. Post-login the actors ran system and container reconnaissance, queried cloud metadata, tried to read password hashes and root SSH keys and edit authorized_keys. One actor got root and installed the TAC Agent Python C2 with a startup service.
Breakdown
Targets
- Industry: Opportunistic
Technical exposure
- musl-based OpenSSH without PAM (Alpine openssh-server, UsePAM no)
- OpenSSH before 10.6p2; Alpine 3.16-3.24 and edge before the fix
- sshd reachable with PasswordAuthentication enabled
- Account with * shadow field and another account with a $5$/$6$ hash
Adversary
Unknown
Procedures (10)
Match musl crypt() error to a disabled shadow account
- T1190Exploit Public-Facing Application
Logs
Sshd / sshd-session via syslog or journald · Successful password authentication: Accepted password for <user> from <ip> port <port> ssh2; sshd (before OpenSSH 9.8) or sshd-session (9.8 and...
- Host inventory or live query of /etc/shadow and sshd · Account and package inventory: below the branch's fixed release, or sshd not restarted after upgrade
Launch a shell or command under the SSH session
- T1059.004Command and Scripting Interpreter: Unix Shell
Logs
Linux Auditd · USER_START/EXECVE
Microsoft Defender for Endpoint DeviceProcessEvents · Process creation: sshd
CrowdStrike Falcon Process Events · Process creation: sshd
SentinelOne Deep Visibility · Process creation: sshd- Falco Runtime Security · Process execution or terminal allocation: sshd
- EBPF Runtime Observability · process_exec: sshd
Escalate privileges through doas
- T1548Abuse Elevation Control Mechanism
Logs
Linux Doas/system logs · doas execution
Linux Auditd · EXECVE/USER_CMD/CRED_REFR: /usr/bin/doas
- Process_events · process_events: /usr/bin/doas
Microsoft Defender for Endpoint DeviceProcessEvents · Process creation: doas; /usr/bin/doas; sshd
- EBPF Runtime Observability · process_exec/credential change: /usr/bin/doas
Install SSH authorized keys after access
- T1098.004Account Manipulation: SSH Authorized Keys
Logs
Linux Auditd · PATH/EXECVE: /root/.ssh/authorized_keys or /home/*/.ssh/authorized_keys
File Integrity Monitoring · File creation or modification: /root/.ssh/authorized_keys or /home/*/.ssh/authorized_keys
- File and Account Tables · authorized_keys/file_events
- Falco Runtime Security · openat/creat/write/rename: /root/.ssh/authorized_keys or /home/*/.ssh/authorized_keys
SentinelOne Deep Visibility · File creation or modification: /root/.ssh/authorized_keys or /home/*/.ssh/authorized_keys
Create a local account after SSH compromise
- T1136.001Create Account: Local Account
Logs
Linux Auditd · USER_ADD/ADD_USER/USER_CHAUTHTOK
File Integrity Monitoring · Account database modification: /etc/passwd, /etc/shadow, or /etc/group
- File and Account Tables · users/file_events/process_events
- EBPF Runtime Observability · process_exec/file write: /etc/passwd, /etc/shadow, or /etc/group
Microsoft Defender for Endpoint DeviceProcessEvents · Process creation: sshd
Cloud instance metadata queried from a remote login session
- T1552.005Unsecured Credentials: Cloud Instance Metadata API
Logs
- Process network connections · Outbound connection: 169.254.169.254 (or fd00:ec2::254); descends from sshd / sshd-session
- Process creation · Process start: sshd / sshd-session
Execve audit · EXECVE / SYSCALL: contains 169.254.169.254 or metadata.google.internal; sshd child
Local password hash file read from a remote login session
- T1003.008OS Credential Dumping: /etc/passwd and /etc/shadow
Logs
File watch · SYSCALL openat with PATH: /etc/shadow; shell or tool descending from sshd
- Process creation · Process start: references /etc/shadow (cat, head, cp, tar, python); sshd / sshd-session
Root SSH key files read from a remote login session
- T1552.004Unsecured Credentials: Private Keys
Logs
File watch · SYSCALL openat with PATH: /root/.ssh/id_* or /root/.ssh/authorized_keys; shell or tool descending from sshd
- Process creation · Process start: references /root/.ssh/ (cat, cp, tar, scp); sshd / sshd-session
Python command-and-control agent launched from a remote login session
- T1059.006Command and Scripting Interpreter: Python
Logs
- Process creation · Process start: python / python3; sshd / sshd-session, or a startup service created after the login
- Process network connections · Outbound connection: python / python3 launched from the session; external host not previously contacted by the server
Startup service created to relaunch a dropped agent
- T1543Create or Modify System Process
Logs
- File events · File create or modify: descends from sshd / sshd-session
File watch and execve · PATH / EXECVE: rc-update add <svc> or systemctl enable <svc>; sshd child
Indicators of compromise
IPs (1)
- 89.116.89.18source IP sending oversized passwords
Domains (1)
- tac.vpnla.orgTAC Agent C2 domain
CVEs (1)
- CVE-2026-123158
Sources
- A/1Alpine Linux: Security advisory: openssh-server password authentication bypass
- B/2Security Boulevard: sshole (CVE-2026-123158): OpenSSH password bypass on Alpine Linux
- B/2OX Security: OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158
- B/2Orca Security: *sshole: OpenSSH Authentication Bypass Gives Attackers Root on Alpine Linux
- B/2BleepingComputer: OpenSSH flaw lets attackers log into password-disabled Linux accounts
Grades are source reliability (A–F) and information credibility (1–6).
Questions, detections or sightings of sshole OpenSSH bypass (CVE-2026-123158)? Bring them to the community.