8.5high
nixos/mysql : `services.mysql` is configured with insecure authentication by default when used with `mysql` or `percona-server`
- Severity
- 8.5high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NixOS nixpkgs | < 25.11, >= 26.05-beta, < 26.05 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Nixpkgs es una colección de paquetes de software que pueden instalarse con el gestor de paquetes Nix. Antes de las correcciones de canal 25.11 y 26.05, el módulo NixOS para MySQL services.mysql inicializa la base de datos MySQL de una manera que permite a los usuarios locales, como procesos web o CGI sin privilegios en el mismo host, iniciar sesión como el usuario root sin contraseña cuando el servicio se usa con MySQL o percona-server. Este problema está solucionado en la 25.11 y 26.05.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-61828 changed 2026-07-15 | CVE Terms of Use |
| NVD | CVE-2026-61828 changed 2026-10-24 | Public domain |