International
The Morning Dev

Only the news worth knowing

‹
 
B44/100

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

  1. Check whether pam-mysql is installed and used for PAM authentication on your systems.
  2. 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
YesHits tech teamsJudgment: pam-mysql is a PAM module on servers that sshd-style login relies on, run by ops/IT teams.
NoCore infrastructureJudgment: a niche PAM-MySQL module, not core infrastructure like OpenSSH or glibc.
NoPopular toolJudgment: pam-mysql is a niche module, not a widely used framework or platform.
NoExploited in the wildOpen Source Security post describes the bug only; no observed attacks reported.
NoPublic exploitOpen Source Security post: no exploit code or step-by-step PoC mentioned in the given text.
YesRemote, no loginOpen Source Security: 'pre-auth authentication bypass' on a stock sshd, implying network access without credentials.
YesFull takeoverOpen Source Security: authentication bypass lets passwordless accounts log in, a full account takeover.
NoSecrets exposedOpen Source Security describes an auth bypass; no stolen credentials or data reported.
NoSupply chainOpen Source Security describes an inverted flag bug; no malicious code shipped.
NoNo fix yetOpen 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.

Timeline

  1. Vulnerability disclosed on oss-security by Andrey Vasilevsky

  2. Open Source Security

    CVE-2026-124749: pam-mysql: inverted PAM_DISALLOW_NULL_AUTHTOK gives a pre-auth authentication bypass

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