Skip to content

Cyber ·

CVE-2026-124749: inverted check in pam-mysql allows login without password via default sshd

Security notice from the oss-sec feed dated 19 November 2026 on pam-mysql: an inverted PAM_DISALLOW_NULL_AUTHTOK check may let unauthenticated clients log in to accounts with a NULL SQL password using any password.

The notice, published by Andrey Vasilevsky on the oss-sec feed on 19 November 2026, describes CVE-2026-124749 in pam-MySQL (libpam-mysql, source package src:pam-mysql). The module inverts the PAM_DISALLOW_NULL_AUTHTOK flag at both call sites of pam_sm_authenticate. As a result, an application that asks PAM to refuse accounts without a password receives the permissive behavior instead. According to the text, on a default sshd an unauthenticated network client can log in as any account whose stored password column is SQL NULL, using any password, because the supplied password is never compared on that path. The available text is an automatic translation of the feed item and ends before the identifier assignment is complete. The material does not state affected versions, fixes or mitigations, so check those in the original source and the project channels.

Original source: CVE-2026-124749: pam-mysql inverte PAM_DISALLOW_NULL_AUTHTOK e permite autenticação sem prévia autenticação

Curation · Inova

Get the essentials

Privacy, AI engineering and security in your inbox.

At most one digest per day, when there is news. Cancel at any time. We use your account's verified email.

Privacy

Looking for something else?DocumentationContact