CVE-2026-85176

high

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.

References

https://www.vulncheck.com/advisories/dbgate-through-7.2.6-arbitrary-file-read-and-write-via-file-jslid

https://github.com/dbgate/dbgate/issues/1502

https://github.com/dbgate/dbgate/blob/v7.2.6/packages/api/src/utility/getJslFileName.js

https://github.com/dbgate/dbgate/blob/v7.2.6/packages/api/src/controllers/jsldata.js

https://github.com/dbgate/dbgate

Details

Source: Mitre, NVD

Published: 2026-09-03

Updated: 2026-09-17

Risk Information

CVSS v2

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 8.7

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

Severity: High

EPSS

EPSS: 0.00342