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

Medium 5.3 Published Updated

Hardcoded secret in NixOS OnlyOffice module allows attackers with revision IDs to access documents, impacting users with expired access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-64766?

CVE-2025-64766 is a medium-severity vulnerability in NixOS nixpkgs, published on 17 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-798

Which versions are affected by CVE-2025-64766?

How do I fix CVE-2025-64766?

No fix has been published for CVE-2025-64766 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-64766 being exploited?

There is no known exploitation of CVE-2025-64766 in the wild and no public exploit code.

Sources

Also known as GHSA-58m4-5wg3-5g5v.

Is CVE-2025-64766 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free