CVE-2026-121455
MEDIUM
NVD
CVSS Score
5.4
Severity
MEDIUM
Published
Nov 03, 2026
Vendor
unknown
Description
DbGate before 7.3.3 contains a missing authorization vulnerability that allows connection-restricted authenticated users to bypass LOGIN_PERMISSIONS because test() and save() never call testConnectionPermission. Attackers can submit arbitrary connection definitions to POST /connections/test to probe internal database hosts, or to /connections/save to overwrite stored connections.
References
- https://github.com/dbgate/dbgate
- https://github.com/dbgate/dbgate/blob/v7.3.2/packages/api/src/controllers/connections.js#L227-L250
- https://github.com/dbgate/dbgate/blob/v7.3.2/packages/api/src/controllers/connections.js#L372-L390
- https://github.com/dbgate/dbgate/commit/9166a987bfec
- https://github.com/dbgate/dbgate/issues/1601