Description
A vulnerability has been found in DbGate up to 7.2.5/7.3.1-premium-beta.1. This impacts the function fs.readFile of the file packages/api/src/controllers/files.js of the component files-style Endpoint. The manipulation of the argument filePath/uri leads to path traversal. It is possible to initiate the attack remotely. The vendor was contacted early about this disclosure but did not respond in any way.
Published: 2026-09-24
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Remote File Access
Action: Patch Now
AI Analysis

Impact

DbGate contains a path traversal flaw in the fs.readFile function of the files-style Endpoint. An attacker can manipulate the filePath or uri request parameter to read arbitrary files on the server, potentially exposing confidential data such as credentials, configuration files, or source code. The flaw is identified as CWE-22 and does not provide a direct code‑execution vector, but it allows a remote attacker to compromise data confidentiality and integrity.

Affected Systems

All DbGate installations up to version 7.2.5 and the 7.3.1‑premium‑beta.1 release are vulnerable. The issue resides in the files‑style Endpoint component and affects any deployment that exposes this API endpoint to external network traffic. The exploit can target any operating system the application runs on as long as the attacker can reach the endpoint and the target file resides within the file system accessible by the application process.

Risk and Exploitability

The vulnerability has a CVSS score of 5.3, classifying it as moderate. A remote attacker sends a crafted HTTP request to the files-style Endpoint, supplying a filePath or uri that includes traversal sequences; if the file system permits it, the attacker can read any visible file. The EPSS score is not available, so the likelihood of exploitation is unknown from publicly available data. The flaw is not listed in the CISA KEV catalog. No privilege escalation is required beyond the permissions of the application process, but the risk is amplified if the application runs with elevated privileges or if sensitive files are stored in directories reachable via the endpoint.

Generated by OpenCVE AI on September 25, 2026 at 07:41 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest DbGate release, which removes the path traversal flaw in the files-style Endpoint.
  • Configure the application to validate the filePath and uri parameters, rejecting traversal patterns such as '..' or encoded equivalents.
  • Restrict the set of file system locations that the endpoint can access, for example by chrooting or confining the process to a safe directory.
  • Use a reverse proxy or network segmentation to limit external access to the API endpoint, ensuring only trusted internal traffic can reach the vulnerable component.

Generated by OpenCVE AI on September 25, 2026 at 07:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description A vulnerability has been found in DbGate up to 7.2.5/7.3.1-premium-beta.1. This impacts the function fs.readFile of the file packages/api/src/controllers/files.js of the component files-style Endpoint. The manipulation of the argument filePath/uri leads to path traversal. It is possible to initiate the attack remotely. The vendor was contacted early about this disclosure but did not respond in any way.
Title DbGate files-style Endpoint files.js fs.readFile path traversal
First Time appeared Dbgate
Dbgate dbgate
Weaknesses CWE-22
CPEs cpe:2.3:a:dbgate:dbgate:*:*:*:*:*:*:*:*
Vendors & Products Dbgate
Dbgate dbgate
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-24T17:21:13.002Z

Reserved: 2026-09-24T09:53:22.931Z

Link: CVE-2026-97226

cve-icon Vulnrichment

Updated: 2026-09-24T17:21:08.652Z

cve-icon NVD

Status : Deferred

Published: 2026-09-24T16:17:29.090

Modified: 2026-09-24T18:19:09.063

Link: CVE-2026-97226

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T07:45:18Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')