PT-2026-99877 · Dbgate · Dbgate
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
dbgate versions prior to 7.3.2
Description
A path traversal issue exists in the Export Handler component within the
exportModelSql() function of the packages/api/src/controllers/databaseConnections.js file. A remote attacker can manipulate the outputFile argument to perform path traversal, which allows accessing or writing to files outside the intended directory. Path traversal is a technique used to access files and directories that are stored outside the web root folder.Recommendations
Update dbgate to a version newer than 7.3.1.
As a temporary mitigation, restrict access to the
exportModelSql() function until a patch is applied.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Dbgate