8.5High

CVE-2026-61828nixos/mysql : `services.mysql` is configured with insecure authentication by default when used with `mysql` or `percona-server`

NixOS nixpkgs Published: (4 months ago)

Description

Nixpkgs is a collection of software packages that can be installed with the Nix package manager. Prior to the 25.11 and 26.05 channel fixes, the NixOS module for MySQL services.mysql initializes the MySQL database in a way that allows local users, such as unprivileged web or CGI processes on the same host, to log in as the root user without a password when the service is used with mysql or percona-server. This issue is fixed in the 25.11 and 26.05.

Weakness (CWE): CWE-276

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
NixOS nixpkgs < 25.11, >= 26.05-beta, < 26.05

References and patches