Oriel — AI & technology worth noticing, every day.

Alpine Linux : openssh-server password authentication bypass

Web page · https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass

First seen by Oriel on .

AI summary

Alpine Linux warns that a flaw in non-PAM OpenSSH can let a remote attacker bypass password authentication and log in to passwordless accounts; update openssh and restart sshd, or disable password logins.

  • Exploitation requires password authentication, an account with a `*` password field, at least one account with a `$5$` or `$6$` hash, and a 257–1024-byte password attempt.
  • Affected configurations include Alpine’s `openssh-server` without PAM and `openssh-server-pam` with `UsePAM no`; `UsePAM yes` is not affected.
  • The issue spans Alpine releases 3.16 through 3.24 and edge; fixed package versions are listed for each supported and older branch.
  • The failure occurs because musl `crypt()` returns `*` for keys over 256 bytes, matching the stored field for accounts without passwords.
  • Official tiny-cloud images from 3.18.11 through 3.24.3 include an `alpine` account that can become exploitable after a `$6$` hash is added; running instances should be updated or have password authentication disabled.

#openssh #alpine linux #ssh security #musl

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 611, latest observation ; +569 over observed period since
  • Lobsters: 9, latest observation ; +9 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 128, latest observation ; +127 over observed period since
  • Lobsters: 2, latest observation ; +2 over observed period since

Aliases

SourceExternal IDURL
Hacker News50379704https://alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/ Read discussion
Lobsters7dbarmhttps://www.alpinelinux.org/posts/2026-11-05-openssh-password-authentication-bypass/ Read discussion