CVE-2026-61828
published high CVSS 4.0 · 8.5nixos/mysql : `services.mysql` is configured with insecure authentication by default when used with `mysql` or `percona-server`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NixOS | — | nixpkgs< 25.11 · >= 26.05-beta, < 26.05 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NixOS | nixpkgs | < 25.11 (affected)>= 26.05-beta, < 26.05 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-276 CWE-276: Incorrect Default Permissions
References
7- https://github.com/NixOS/nixpkgs/commit/3f68d7ad2a6865ff8b4910d89f173d7258bad8dd
- https://github.com/NixOS/nixpkgs/commit/4aed47116a8734922763cd8f477467b0a0bcd6d7
- https://github.com/NixOS/nixpkgs/commit/f8ee41468a7a8f9ed3a8cc7d017151c2ca6f90b5
- https://github.com/NixOS/nixpkgs/pull/534254
- https://github.com/NixOS/nixpkgs/pull/534482
- https://github.com/NixOS/nixpkgs/pull/534484
- https://github.com/NixOS/nixpkgs/security/advisories/GHSA-6qxx-6rg8-c4p8
Provider assertions
2GitHub_M · cna
nixos/mysql : `services.mysql` is configured with insecure authentication by default when used with `mysql` or `percona-server`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b68698801e8310c85b9bf974c3ba2811832642d656e5940f007d820234a7cb7
- Ingested
- 23 Sep 2026, 09:24:40 UTC
- Source record
- Official CVE record