CVE-2026-85176
8.7
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| dbgate | dbgate | 0 <= 7.2.6 | affected |
Weaknesses
- CWE-73: External Control of File Name or Path
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://github.com/dbgate/dbgate/issues/1502
- https://github.com/dbgate/dbgate
- 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://www.vulncheck.com/advisories/dbgate-through-7.2.6-arbitrary-file-read-and-write-via-file-jslid
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.