ZeroHour

CVE-2026-85176

niche

Authenticated Arbitrary File Read/Write in DbGate via Path Traversal

CVSS 4.0
8.7 high
EPSS
<1%p27
Published
()
Modified
AI analysis

DbGate contains a path traversal flaw (CWE-73) in its jsldata controller, where the jslid parameter is not validated and is passed through getJslFileName(), allowing file:// scheme resolution that escapes the intended directory containment. An authenticated user can send a crafted jslid value to read or write arbitrary files on the host running DbGate. Because the web-facing controller is reachable over the network, a logged-in attacker can harvest sensitive files, including the connections configuration that stores encrypted database credentials, and potentially modify files to affect system integrity and availability. Any organization running a DbGate server/web deployment where untrusted users hold accounts is affected; desktop-only single-user installs have lower risk. No public proof-of-concept or in-the-wild exploitation is known, and CISA has not added it to the KEV catalog.

What to do: Monitor the DbGate project for a patched release and upgrade as soon as a fix is published, since no fixed version is specified in the available data. In the meantime, restrict the DbGate web interface to trusted, authenticated users, avoid exposing it directly to the internet, and place it behind a VPN or reverse proxy with access controls. Audit the connections configuration and other sensitive files on the host for signs of unauthorized access or modification.

Affected
DbGate (server/web edition, jsldata controller)
Estimated exposure
nicheplausibly in the low thousands of self-hosted web/container instances (estimate, not a measured count) — DbGate is an open-source database administration tool typically deployed as a self-hosted Docker/web instance on internal networks rather than at mass-market scale, and exploitation additionally requires an authenticated user, so…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

DbGate fails to validate jslid parameters in the jsldata controller, allowing authenticated users to read and write arbitrary files via file:// scheme resolution. Attackers can exploit getJslFileName() to bypass directory containment and access sensitive files including encrypted database credentials stored in connections configuration.

Weakness
CWE-73
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.