{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "7.2.6"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "e53b590799aeef7ccbe52b0758b8bef782c3972a"
            }
          ],
          "repo": "https://github.com/dbgate/dbgate",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-73"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85176.json"
  },
  "details": "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.",
  "id": "CVE-2026-85176",
  "modified": "2026-09-19T03:30:37.451623413Z",
  "published": "2026-09-03T14:12:16.235Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85176.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85176"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dbgate-through-7.2.6-arbitrary-file-read-and-write-via-file-jslid"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/dbgate/dbgate/issues/1502"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/dbgate/dbgate"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/dbgate/dbgate/blob/v7.2.6/packages/api/src/controllers/jsldata.js"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/dbgate/dbgate/blob/v7.2.6/packages/api/src/utility/getJslFileName.js"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "DbGate through 7.2.6 Arbitrary File Read and Write via file:// jslid"
}