Home / NixOS / nixpkgs / CVE-2025-64766
CVE-2025-64766: is it exploited, and which versions of NixOS nixpkgs are affected and fixed?
CVE-2025-64766 is a hard-coded credentials vulnerability in NixOS nixpkgs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: nixpkgs >= 22.11, < 25.05 and nixpkgs < Unstable 25.11 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-64766?
NixOS has hardcoded credentials in Onlyoffice module
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.
From the CVE record by GitHub_M, last updated November 17, 2025, 21:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NixOS | nixpkgs | >= 22.11, < 25.05 < Unstable 25.11 |
As the CVE record by GitHub_M states it, last updated November 17, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-64766?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-64766 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 17, 2025)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-798 Use of Hard-coded Credentials
Where are the vendor advisories and 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
When was it published, and where is the official record?
- Reserved
- November 10, 2025
- Published
- November 17, 2025, 21:38 UTC
- CVE record updated
- November 17, 2025, 21:49 UTC by GitHub_M
- NVD
- Deferred, last modified October 18, 2026, 20:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nixpkgs?
- Jul 15, 2026CVE-2026-61828 NixOS nixpkgs: insecure default permissions
- Feb 9, 2026CVE-2026-25740 NixOS nixpkgs: runs with more privileges than needed
- Feb 2, 2026CVE-2026-25137 NixOS nixpkgs: files or folders accessible to outside parties
- Jan 19, 2026CVE-2026-23838 NixOS nixpkgs: sensitive information in an accessible file
- Apr 15, 2025CVE-2025-32438 NixOS nixpkgs: creation of Temporary File With Insecure Permissions
Questions about CVE-2025-64766
Is CVE-2025-64766 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of NixOS nixpkgs are affected by CVE-2025-64766?
nixpkgs >= 22.11, < 25.05 and nixpkgs < Unstable 25.11, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-64766?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-64766?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-64766?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.