If your company runs servers or virtual machines on Alpine Linux with a reachable SSH port, update the OpenSSH package today and then restart the sshd service. On 5 November 2026 the OpenSSH team released version 10.6p2 to close a flaw (CVE-2026-123158, rated 8.1 out of 10) that lets an attacker log in to an account that has no password at all by sending a long password of 257 to 1024 characters. On 9 November the US cyber agency CISA added it to its list of actively exploited flaws. If you cannot update right now, turning off password logins also closes the hole, and the steps are below.
What happened exactly?
OpenSSH is the program your technical team uses to log in to servers remotely. When it is built without the PAM authentication system on systems that use the musl library, as in Alpine's default package, it checks passwords itself. The problem is that musl returns the character * when a password is longer than 256 bytes, and that same character is what is stored in the password field of every account without a password. The two values match and the login succeeds. The Alpine team says the attack takes one connection and works every time. The flaw was found by researcher Özgün Kültekin of Wakefield, and the OpenSSH team says its root cause is outside sshd but closed it on its side anyway.
Are your servers exposed?
According to Alpine's official advisory, a server is exposed if all of these are true:
- It runs Alpine's
openssh-serverpackage (built without PAM), oropenssh-server-pamwithUsePAM no. - Password login is on (
PasswordAuthentication yes), the default unless someone changed it. - It has an account whose password field is
*: such as root since about Alpine 3.16, any key-only user, and the alpine user in the official cloud images. - And at least one account has a real hashed password.
Not exposed: Docker containers that do not run sshd inside, servers with password login turned off, and cloud images set up through cloud-init, because it writes PasswordAuthentication no. The flaw concerns musl without PAM, so it does not describe the default setup of Ubuntu, Debian or Red Hat. Watch the official tiny-cloud images from 3.18.11 through 3.24.3: they ship the alpine user with no password and passwordless doas, so an attacker reaches root through it.
How to fix it
- Find the Alpine version: run
cat /etc/alpine-releaseon each server. - Update the packages: run
apk upgrade -U -a. Releases 3.21.10, 3.22.8, 3.23.8 and 3.24.4 contain the fixed package, and the Alpine team published fixed packages back to 3.16 even though 3.21 reached end of support on 1 November 2026. The fixed versions are in the table below. - Restart the service: run
rc-service sshd restart. Updating alone does not replace the running service, and this is the step most often forgotten. - If you cannot update now: make sure key login works and keep your session open, then set
PasswordAuthentication noin the sshd configuration, restart it, and check withsshd -T | grep -i passwordauthentication, which must printpasswordauthentication no. This is the official workaround Alpine gives. - We also suggest: do not leave the SSH port open to the whole internet; allow known IP addresses or VPN access only.
- Check the logs: search
/var/log/messagesfor anAccepted password forline for an account with no password (alpine, root or a key-only user), and review doas use and recently created users, files and authorized_keys. If you cannot rule out an intruder's login, treat the server as compromised.
| Alpine branch | Fixed OpenSSH version |
|---|---|
| edge | openssh 10.6_p2-r0 |
| 3.24 | openssh 10.3_p1-r2 |
| 3.23 | openssh 10.2_p1-r1 |
| 3.22 | openssh 10.0_p1-r11 |
| 3.21 | openssh 9.9_p2-r1 |
| 3.20 | openssh 9.7_p1-r6 |
| 3.19 | openssh 9.6_p1-r3 |
| 3.18 | openssh 9.3_p2-r4 |
| 3.17 | openssh 9.1_p1-r7 |
| 3.16 | openssh 9.0_p1-r6 |
Why does this matter to a business owner?
Alpine is small and light, so development teams often pick it for small cloud servers, test environments and embedded network devices, and your service provider may have installed it without you knowing. An attacker on one server is enough to steal data or access keys to other systems. And with CISA's deadline having passed on 12 November, a server that is still not updated is more than two weeks late. Send these steps to whoever runs your servers and ask for written confirmation that every Alpine server was updated and had sshd restarted.
The Origami view
The lesson is that default settings are not always safe: password login is on by default, and had key-only login been the rule, this flaw would have reached nothing. In the projects we build and whose servers we run, we turn off password login and restrict SSH to specific addresses from day one. If you want your servers reviewed, contact us.
Sources
Frequently asked questions
How do I know if my server is exposed to this OpenSSH flaw?
If it runs Alpine Linux with the default openssh-server package, password login is on, and it has an account without a password such as root, it is exposed until you update it.
I updated the package. Am I done?
No. You must restart the service with rc-service sshd restart, because the update does not replace the running sshd.
Are Ubuntu or Debian servers affected?
The flaw concerns systems that use the musl library without PAM, such as Alpine, and does not describe the default setup of Ubuntu or Debian.
I cannot update right now. What should I do?
Turn off password login by setting PasswordAuthentication no in the sshd configuration and restart it, after checking that key login works.







