CVE-2025-50184 DbGate allows for File Traversal via file parameter
Attackers can read arbitrary system files by manipulating the file parameter in DbGate, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-50184?
CVE-2025-50184 is a high-severity path traversal vulnerability in dbgate, published on 26 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
DbGate is cross-platform database manager. In versions 6.4.3-premium-beta.5 and below, DbGate is vulnerable to a directory traversal flaw. The file parameter is not properly restricted to the intended uploads directory. As a result, the endpoint that lists files within the upload directory can be manipulated to access arbitrary files on the system. By supplying a crafted path to the file parameter, an attacker can read files outside the upload directory, potentially exposing sensitive system-level data. This is fixed in version 6.4.3-beta.8.
Weakness: CWE-29
Which versions are affected by CVE-2025-50184?
How do I fix CVE-2025-50184?
No fix has been published for CVE-2025-50184 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-50184 being exploited?
There is no known exploitation of CVE-2025-50184 in the wild and no public exploit code.
Sources
Also known as GHSA-2fp9-29gv-p5gm.