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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-07-15T14:52:35.212Z
- Modified: 2026-10-24T21:10:00.130Z
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- NixOS nixpkgs: < 25.11; >= 26.05-beta, < 26.05

## References

- <https://github.com/NixOS/nixpkgs/security/advisories/GHSA-6qxx-6rg8-c4p8>
- <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/commit/3f68d7ad2a6865ff8b4910d89f173d7258bad8dd>
- <https://github.com/NixOS/nixpkgs/commit/4aed47116a8734922763cd8f477467b0a0bcd6d7>
- <https://github.com/NixOS/nixpkgs/commit/f8ee41468a7a8f9ed3a8cc7d017151c2ca6f90b5>

## Sources

- CVE List: [CVE-2026-61828](https://www.cve.org/CVERecord?id=CVE-2026-61828), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-61828](https://nvd.nist.gov/vuln/detail/CVE-2026-61828), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-61828 · Whole record: https://cve.day/CVE-2026-61828.json · Rebuilt by cve.day 2026-11-25T22:59:28.304Z
