Quick answers
- Is CVE-2026-61828 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-61828 being exploited in the wild.
- How severe is CVE-2026-61828?
- Informational severity, with a CVSS score of 8.5, published 15 July 2026.
- Which products and versions are affected?
- Nixos Nixpkgs < 25.11, >= 26.05-beta < 26.05.
- Is there a fix for CVE-2026-61828?
- A patch was published on 2026-06-22: Initial fix committed to nixpkgs master branch Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-61828 attacked?
- It is attacked with local access, in an operating system.
- Am I affected by CVE-2026-61828?
- Check whether you run Nixos Nixpkgs at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A vulnerability exists in the NixOS 'services.mysql' module within nixpkgs where MySQL and Percona Server instances are initialized with insecure default authentication settings. Specifically, the root@localhost user is not automatically secured with socket-based authentication (auth_socket), allowing any local user—including unprivileged service accounts like web or CGI processes—to authenticate as the database root user without a password. This is classified as a CWE-276 (Incorrect Default Permissions) issue. The fix, introduced in versions 25.11 and 26.05, enforces 'auth_socket' authentication by default for the root user. Exploitation requires local access to the host but no special privileges.
Affected products
- NixOS nixpkgs < 25.11, >= 26.05-beta < 26.05
Timeline
- 2026-06-22: patched: Initial fix committed to nixpkgs master branch
- 2026-07-15: disclosed: CVE-2026-61828 published
- 2026-07-15: advisory: GitHub Security Advisory GHSA-6qxx-6rg8-c4p8 released
References
- 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