Vulnerability · Published Nov 17, 2025 · Assigned by GitHub_M
CVE-2025-64766NixOS has hardcoded credentials in Onlyoffice module
Medium 5.3
In plain English
A medium-severity hard-coded credentials in nixpkgs from NixOS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities).
Official description
NixOS's Onlyoffice is a software suite that offers online and offline tools for document editing, collaboration, and management. In versions from 22.11 to before 25.05 and versions before Unstable 25.11, a hard-coded secret was used in the NixOS module for the OnlyOffice document server to protect its file cache. An attacker with knowledge of an existing revision ID could use this secret to obtain a document. In practice, an arbitrary revision ID should be hard to obtain. The primary impact is likely the access to known documents from users with expired access. This issue was resolved in NixOS unstable version 25.11 and version 25.05.
Affected products (as reported)
Weakness: CWE-798 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/NixOS/nixpkgs/security/advisories/GHSA-58m4-5wg3-5g5v x_refsource_CONFIRM
- https://github.com/NixOS/nixpkgs/pull/462100 x_refsource_MISC
- https://github.com/NixOS/nixpkgs/pull/462204 x_refsource_MISC
- https://github.com/NixOS/nixpkgs/commit/8e74d05e3de4ee5ad320cd585a7e0f12a4730869 x_refsource_MISC
- https://github.com/NixOS/nixpkgs/commit/cec38dec00df26a901eb8b424d53bbb3bcc72eec x_refsource_MISC