High severity · published Jul 15, 2026
CVE-2026-61828
nixos/mysql : `services.mysql` is configured with insecure authentication by default when used with `mysql` or `percona-server`
8.5
CVSS
0.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 4% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NI
nixpkgs · NixOS
< 25.11; >= 26.05-beta, < 26.05 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-61828
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-61828
github.com
https://github.com/NixOS/nixpkgs/commit/3f68d7ad2a6865ff8b4910d89f173d7258bad8dd
github.com
https://github.com/NixOS/nixpkgs/commit/4aed47116a8734922763cd8f477467b0a0bcd6d7
github.com
https://github.com/NixOS/nixpkgs/commit/f8ee41468a7a8f9ed3a8cc7d017151c2ca6f90b5
github.com
https://github.com/NixOS/nixpkgs/pull/534254
github.com
https://github.com/NixOS/nixpkgs/pull/534482
github.com
https://github.com/NixOS/nixpkgs/pull/534484
More from nixpkgs
9.1
CVE-2026-25137
NixOs Odoo database and filestore publicly accessible with default odoo configuration
8.7
CVE-2026-23838
Tandoor Recipes module allows SQLite database to be externally accessible with the default settings
5.8
CVE-2026-25740
Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module
5.3
CVE-2025-64766
NixOS has hardcoded credentials in Onlyoffice module
