Skip to content
Heist/ feed
Back to feed
Medium

NixOS has hardcoded credentials in Onlyoffice module

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-64766
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:05 UTC · Revision 1

Source evidence

NixOS has hardcoded credentials in Onlyoffice module

core-osv · Original source

Published 17 Nov 2025, 21:38 UTC

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.

osv:CVE-2025-64766
Complete source record
{
  "id": "15c4f9b119c36e1a1af759f5babd05a1b8360dfa11ff1f182a0dd89a6b8dbbde",
  "url": "https://osv.dev/vulnerability/CVE-2025-64766",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "NixOS has hardcoded credentials in Onlyoffice module",
    "summary": "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.",
    "evidence": "osv:CVE-2025-64766",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-64766",
      "aliases": [
        "CVE-2025-64766",
        "GHSA-58m4-5wg3-5g5v"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nixos/nixpkgs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4d2b37a84fad1091b9de401eb450aae66f1a741e"
                },
                {
                  "fixed": "c46290747b2aaf090f48a478270feb858837bf11"
                },
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e56e0beed4312a89b60fe312ee2241f7a1627f76"
                },
                {
                  "fixed": "8e74d05e3de4ee5ad320cd585a7e0f12a4730869"
                },
                {
                  "fixed": "cec38dec00df26a901eb8b424d53bbb3bcc72eec"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "22.11"
                      },
                      {
                        "fixed": "25.05"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "Unstable25.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8e74d05e3de4ee5ad320cd585a7e0f12a4730869"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "cec38dec00df26a901eb8b424d53bbb3bcc72eec"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "25.05",
            "25.05-beta",
            "24.11-pre",
            "24.05-pre",
            "23.11-beta",
            "23.11-pre",
            "23.05-pre",
            "21.11-pre",
            "18.09-beta",
            "18.03-beta",
            "v208",
            "v206",
            "v192",
            "15.09-beta",
            "0.14",
            "0.13",
            "0.4",
            "0.3",
            "0.2",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64766.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.868540158Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64766.json",
        "https://github.com/NixOS/nixpkgs/security/advisories/GHSA-58m4-5wg3-5g5v",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-64766",
        "https://github.com/NixOS/nixpkgs/commit/8e74d05e3de4ee5ad320cd585a7e0f12a4730869",
        "https://github.com/NixOS/nixpkgs/commit/cec38dec00df26a901eb8b424d53bbb3bcc72eec",
        "https://github.com/NixOS/nixpkgs/pull/462100",
        "https://github.com/NixOS/nixpkgs/pull/462204"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-798"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64766.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-64766",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503442,
  "published_at": "2025-11-17T21:38:10.023+00:00"
}