SecurityOnlineDo Son
pam-mysql flaw lets attackers bypass SSH authentication
Part of the CVE-2026-124749 story · since 20 Nov
- Fri 20 Nov, 11:31 UTC. SecurityOnline, first report. pam-mysql flaw lets attackers bypass SSH authentication. This article, 1st of 1.
CVE-2026-124749 concerns pam-mysql, with the vulnerability described as an authentication bypass that could allow an unauthenticated attacker to log in to stock SSH servers using any password when a stored password is NULL or empty. The disclosure, attributed to researcher Andrey Vasilevsky, states that pam-mysql inverts the PAM_DISALLOW_NULL_AUTHTOK flag at both pam_sm_authenticate call sites, so a request for passwordless accounts can be granted. The CVSS score is 9.8 (CVSSv3).
At the time of reporting, the vulnerability had no confirmed exploitation in the wild, though a test case exists on request and the risk is framed as pre-auth for open hosts. OpenSSH defaults and configurations influence the level of risk, with the vendor noting that improper configuration is not required for exploitation.
Affected versions span the 0.8.x line (covering Debian 11–14, Ubuntu 18.04–22.04, Kali, FreeBSD, Gentoo) and the 1.0.0 beta line (Fedora 39–44, Nix, Mageia 10, Rosa, ALT). Upstream maintainer Nigel Cunningham pushed fixes to the master branch on 19 November 2026, adding a nullok option set to off by default. Debian issued mitigations (DSA-6643-1 for trixie and DLA-4919-1 for bookworm) on 20 November 2026.
Practically, if patching is not possible, the guidance is to avoid enabling PermitEmptyPasswords, purge NULL or empty password rows, and enforce NOT NULL constraints; administrators should also compare OpenSSH logs against database backups to distinguish bypass logins from ordinary activity, as advised in the publication. All claims are attributed to the OSS-sec disclosure, Nigel Cunningham’s upstream fixes, and Debian advisories cited in the article.
How the story developed
1 article from 1 outlet since 20 Nov. Still developing; the latest report was 23 minutes ago. This was the first report.
- Fri 20 Nov, 11:31 UTC. SecurityOnline, first report. pam-mysql flaw lets attackers bypass SSH authentication. This article, 1st of 1.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 1 articles as a listHide the list
- Fri 20 NovDay 01
- pam-mysql flaw lets attackers bypass SSH authentication11:31 · SecurityOnline · First report · This article, 1st of 1