Medium severity · published Nov 17, 2025
CVE-2025-64766
NixOS has hardcoded credentials in Onlyoffice module
5.3
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 22% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NI
nixpkgs · NixOS
>= 22.11, < 25.05; < Unstable 25.11 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-64766
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-64766
github.com
https://github.com/NixOS/nixpkgs/commit/8e74d05e3de4ee5ad320cd585a7e0f12a4730869
github.com
https://github.com/NixOS/nixpkgs/commit/cec38dec00df26a901eb8b424d53bbb3bcc72eec
github.com
https://github.com/NixOS/nixpkgs/pull/462100
github.com
https://github.com/NixOS/nixpkgs/pull/462204
github.com
https://github.com/NixOS/nixpkgs/security/advisories/GHSA-58m4-5wg3-5g5v
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
8.5
CVE-2026-61828
nixos/mysql : `services.mysql` is configured with insecure authentication by default when used with `mysql` or `percona-server`
5.8
CVE-2026-25740
Privilege escalation to the `CAP_NET_RAW` capability via the `programs.captive-browser` NixOS module
