CVE-2025-64766: NixOS nixpkgs · Use of Hard-coded Credentials
Affects NixOS nixpkgsSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 25.11 or 25.05 when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 25.11, 25.05
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 17 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade nixos/nixpkgs to 25.11 or 25.05.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubnixos/nixpkgspkg:github/nixos/nixpkgsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately verify if their NixOS deployments include the OnlyOffice document server module within the affected version ranges (>=22.11 and <25.05, or unstable versions <25.11). The primary mitigation is to upgrade NixOS to version 25.05 or later, or unstable 25.11 or later, where the hard-coded secret has been removed or replaced. If upgrading is not immediately feasible, organizations should restrict network access to the OnlyOffice document server to trusted users and networks, minimizing exposure to external attackers. Implement strict access controls and monitoring to detect unusual access patterns that might indicate attempts to enumerate or guess revision IDs. Consider auditing document revision ID generation and distribution processes to reduce leakage risks. Additionally, review and rotate any secrets or tokens associated with OnlyOffice caches if possible. Employ network-level protections such as firewalls and VPNs to limit access to the document server. Finally, educate users about the sensitivity of document revision identifiers and encourage secure handling practices to prevent inadvertent disclosure.
Description
CVE-2025-64766 is a medium-severity vulnerability in NixOS nixpkgs affecting the OnlyOffice document server module. It involves the use of a hard-coded secret to protect the file cache, allowing an attacker who knows a document's revision ID to access that document. The vulnerability affects versions from 22.11 up to but not including 25.05, and unstable versions before 25.11. Exploitation does not require authentication or user interaction but does require knowledge of a valid revision ID, which is considered difficult to obtain. The primary impact is unauthorized read access to documents that users may no longer have permission to access, potentially exposing sensitive information. The issue was fixed in NixOS versions 25.05 and unstable 25.
References
- github.com/NixOS/nixpkgs/security/advisories/GHSA-58m4-5wg3-5g5v (opens in a new tab)
- github.com/NixOS/nixpkgs/pull/462100 (opens in a new tab)
- github.com/NixOS/nixpkgs/pull/462204 (opens in a new tab)
- github.com/NixOS/nixpkgs/commit/8e74d05e3de4ee5ad320cd585a7e0f12a4730869 (opens in a new tab)
- github.com/NixOS/nixpkgs/commit/cec38dec00df26a901eb8b424d53bbb3bcc72eec (opens in a new tab)