CVE-2026-61828

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

State
Published
Severity
8.5 High
Published
Jul 15, 2026
Updated
Jul 15, 2026
Reserved
Jul 10, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.5 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-276 Incorrect Default Permissions

Affected Products

ProductVersions
nixpkgsNixOS
  • < 25.11Affected
  • >= 26.05-beta, < 26.05Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.