CVE-2025-64766

NixOS has hardcoded credentials in Onlyoffice module

State
Published
Severity
5.3 Medium
Published
Nov 17, 2025
Updated
Nov 17, 2025
Reserved
Nov 10, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-798 Use of Hard-coded Credentials

Affected Products

ProductVersions
nixpkgsNixOS
  • >= 22.11, < 25.05Affected
  • < Unstable 25.11Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.