---
id: CVE-2026-85176
title: >-
  DbGate fails to validate jslid parameters in the jsldata controller, allowing
  authenticated users to read and write arbitrary files via file:// scheme
  resolution
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…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-73
vendor: dbgate
product: dbgate
affected:
  - dbgate <= 7.2.6
published: '2026-09-03'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:43.260'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85176'
references:
  - url: 'https://github.com/dbgate/dbgate'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/dbgate/dbgate/blob/v7.2.6/packages/api/src/controllers/jsldata.js
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/dbgate/dbgate/blob/v7.2.6/packages/api/src/utility/getJslFileName.js
    label: disclosure@vulncheck.com
  - url: 'https://github.com/dbgate/dbgate/issues/1502'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/dbgate-through-7.2.6-arbitrary-file-read-and-write-via-file-jslid
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
epss: 0.00342
epssPercentile: 0.27781
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-03T15:03:18.064688Z'
ingestedAt: '2026-09-17T18:25:15.988Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
