Vulnerability · high
pam-mysql inverted PAM_DISALLOW_NULL_AUTHTOK pre-auth bypass CVE-2026-124749
Tier B · Patch this week – Put it in the sprint
Who’s exposed: Systems using pam-mysql with applications that set PAM_DISALLOW_NULL_AUTHTOK
Tier B because: Full takeover OR secrets exposed OR supply chain
Reach
Attack
Damage
Fix
Remote, no login · Full takeover
What to do
- Check whether pam-mysql is installed and used for PAM authentication on your systems.
- Apply a fixed pam-mysql version once available from your distribution.
The Brief
- pam-mysql inverts the PAM_DISALLOW_NULL_AUTHTOK flag at both pam_sm_authenticate call sites.
- Applications that ask PAM to refuse passwordless accounts instead get permissive behaviour, enabling a pre-authentication bypass.
- Disclosed on oss-security on 2026-11-19 as CVE-2026-124749.
Why it matters
Systems using pam-mysql with applications that rely on PAM_DISALLOW_NULL_AUTHTOK may accept logins for accounts without passwords, which can allow unauthenticated access.
The checklist behind the tier
Checklist · 3 of 10 yes
| Yes | Hits tech teams | Judgment: pam-mysql is a PAM module on servers that sshd-style login relies on, run by ops/IT teams. |
| No | Core infrastructure | Judgment: a niche PAM-MySQL module, not core infrastructure like OpenSSH or glibc. |
| No | Popular tool | Judgment: pam-mysql is a niche module, not a widely used framework or platform. |
| No | Exploited in the wild | Open Source Security post describes the bug only; no observed attacks reported. |
| No | Public exploit | Open Source Security post: no exploit code or step-by-step PoC mentioned in the given text. |
| Yes | Remote, no login | Open Source Security: 'pre-auth authentication bypass' on a stock sshd, implying network access without credentials. |
| Yes | Full takeover | Open Source Security: authentication bypass lets passwordless accounts log in, a full account takeover. |
| No | Secrets exposed | Open Source Security describes an auth bypass; no stolen credentials or data reported. |
| No | Supply chain | Open Source Security describes an inverted flag bug; no malicious code shipped. |
| No | No fix yet | Open Source Security post gives no patched version or vendor fix information in the given text. |
The official record
From CVE.org, CISA’s Known Exploited Vulnerabilities catalog, FIRST EPSS and the GitHub Advisory Database. Where these answer a checklist fact, they win over the reporting.
- Exploited
- Not in CISA’s exploited catalog
Timeline
Source
CVE-2026-124749: pam-mysql: inverted PAM_DISALLOW_NULL_AUTHTOK gives a pre-auth authentication bypass ↗ Open Source Security · 4h ago
First seen · 1 source · Full story page · How tiers are decided