CVE-2026-25137
NixOs Odoo database and filestore publicly accessible with default odoo configuration
Description
The NixOs Odoo package is an open source ERP and CRM system. From 21.11 to before 25.11 and 26.05, every NixOS based Odoo setup publicly exposes the database manager without any authentication. This allows unauthorized actors to delete and download the entire database, including Odoos file store. Unauthorized access is evident from http requests. If kept, searching access logs and/or Odoos log for requests to /web/database can give indicators, if this has been actively exploited. The database manager is a featured intended for development and not meant to be publicly reachable. On other setups, a master password acts as 2nd line of defence. However, due to the nature of NixOS, Odoo is not able to modify its own configuration file and thus unable to persist the auto-generated password. This also applies when manually setting a master password in the web-UI. This means, the password is lost when restarting Odoo. When no password is set, the user is prompted to set one directly via the database manager. This requires no authentication or action by any authorized user or the system administrator. Thus, the database is effectively world readable by anyone able to reach Odoo. This vulnerability is fixed in 25.11 and 26.05.
In plain language
AI Worth attentionIf you run Odoo on NixOS (via nixpkgs) in versions from 21.11 up to 25.11 and 26.05, its database manager is exposed without authentication, letting strangers access or delete your database and files—this is serious and you should act, especially if your Odoo is reachable from the internet.
In nixpkgs, Odoo’s database manager endpoint (/web/database) is publicly reachable with no authentication on NixOS setups for versions 21.11 through before 25.11 and 26.05, enabling unauthenticated actors to delete and download the database and filestore (CWE-306, CWE-552).
What to do now
- Check whether your Odoo web app is reachable from the internet (and whether it exposes the database manager at /web/database).
- Review Odoo/NixOS logs for unusual requests to /web/database (especially GET/POST from outside your network).
- Upgrade Odoo on NixOS to a fixed version: 25.11 or 26.05.
- If you can’t upgrade immediately, restrict network access to Odoo (only allow your office/VPN/known IPs) so the database manager is not reachable publicly.
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:UScopeC:HConfidentialityI:NIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
3 techniquesReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-25137 and every CVE in our database. Create a free account — no credit card required.
Create Free Account