Skip to main content

DbGate EUVDEUVD-2026-70480

| CVE-2026-85176 HIGH
External Control of File Name or Path (CWE-73)
2026-09-03 VulnCheck GHSA-jw66-5j32-j2m2
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to DbGate with any valid low-privilege account
  2. Delivery
    Send crafted jsldata API request with file:// scheme jslid parameter
  3. Exploit
    getJslFileName() resolves path outside data directory
  4. Execution
    Read connections config file containing encrypted database credentials
  5. Impact
    Use or decrypt stolen credentials to access all managed databases

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires a valid DbGate session with at least low-privilege access (PR:L confirmed by CVSS vector) - unauthenticated exploitation is not possible. No elevated role or administrator privilege within DbGate is needed beyond the ability to issue API requests to the jsldata controller. The DbGate API must be reachable by the attacker (network access to the server port). The DbGate server process must have OS-level read permission on the targeted file for information disclosure, or write permission for the write primitive - default single-user and shared-team deployments typically run as the invoking user with broad permissions, making this condition met in most real installations. No special non-default configuration is required; the vulnerable parameter is present in the standard controller in all versions through 7.2.6.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) accurately reflects a no-complexity network attack requiring only a valid low-privilege account - the primary limiting factor and the key distinction from a fully critical unauthenticated flaw. The credential-theft angle dramatically amplifies real-world risk: DbGate's value proposition is centralizing access to many databases, so reading the connections configuration produces a master key to the operator's entire managed database estate. Even a mid-sized municipal IT team in olsztyn using DbGate as a shared DBA interface would face a total database estate compromise if any single DbGate account were phished or reused from a breach. The write primitive further raises the ceiling by enabling config tampering or potentially placing malicious content in writable paths. No public exploit code has been identified at time of analysis, and EPSS data is absent from the input, so exploitation probability cannot be quantified beyond inferring from code visibility: the vulnerable parameters and file paths are publicly documented in GitHub references, materially lowering attacker effort. The main structural mitigant is the PR:L requirement - shared or multi-tenant DbGate deployments are at higher risk than single-user local installs.

Exploit ScenarioDerived

An attacker with any valid DbGate account sends a crafted GET request to the jsldata controller with a jslid value of file:///home/dbgate/.dbgate/connections.yaml (or the platform-equivalent path). The server resolves the path through getJslFileName() without bounds checking and returns the connections configuration file, which contains encrypted database credentials. The attacker recovers or brute-forces those credentials and connects directly to all managed database servers, bypassing DbGate entirely.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

Arbitrary file read and write in DbGate through version 7.2.6 allows authenticated low-privilege users to escape the application's data directory by supplying file:// scheme URIs in the jslid parameter of the jsldata controller. The root function getJslFileName() performs no directory containment validation, exposing the full server filesystem to the DbGate process's OS-level permissions. The most critical consequence is exfiltration of encrypted database credentials from the connections configuration, enabling lateral movement to every database managed through the tool; the write primitive adds configuration tampering and potential code-plant risk.

RemediationAI

No vendor-released patched version has been identified in the available references at time of analysis. Operators should monitor the DbGate GitHub issue tracker (https://github.com/dbgate/dbgate/issues/1502) and the main repository (https://github.com/dbgate/dbgate) for a fix release. As compensating controls: restrict DbGate access strictly to trusted personnel, since the exploit requires an authenticated session and reducing the account population reduces exposure. Run the DbGate process under a dedicated low-privilege OS account with filesystem permissions scoped only to its data directory, preventing traversal to sensitive paths even if the parameter is supplied - note this may break DbGate features that legitimately access other paths. For containerized deployments, mount only the necessary directories and use read-only mounts for paths outside the working data directory. If DbGate is accessible over a network, place it behind an additional authentication layer (VPN, SSO proxy) to limit who can reach the API at all.

Affected VersionsENISA

dbgate 0 ≤7.2.6

Affected Packages

euvd dbgate no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DbGate is an open-source, cross-platform database manager that exposes a Node.js API backend. Its jsldata controller handles internal JSL (JavaScript Lines) file references, with the jslid query parameter controlling which file is resolved. The utility function getJslFileName() in packages/api/src/utility/getJslFileName.js translates that parameter into a filesystem path without sanitizing file:// URIs or enforcing that the resolved path stays within a designated data directory. This is a textbook CWE-73 (External Control of File Name or Path) flaw: user-supplied input directly governs a filename or path used in a privileged server-side operation. The vulnerable code is confirmed present in the v7.2.6 tag of the GitHub repository. CPE cpe:2.3:a:dbgate:dbgate:*:*:*:*:*:*:*:* covers all versions through 7.2.6.

Know when Dbgate gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Network-reachable with no complexity; PR:L for required authentication; C:H/I:H/A:H reflect arbitrary file read, write, and potential config corruption; S:U because downstream database compromise requires independent credential use.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

DbGate database management tool through version 7.2.6 contains a file access vulnerability allowing any authenticated user-even those with minimal privileges-to read and write arbitrary files on the server hosting the application. This directly exposes encrypted database credentials stored in DbGate's configuration, enabling attackers to move laterally to every database the tool manages. Organizations managing multiple production databases through DbGate face credential compromise and potential breach of all connected systems.

Business Impact: Severe
Compensating Controls

Restrict DbGate network access to specific trusted networks via firewall; minimize authenticated user accounts to essential administrators only; implement file access monitoring on DbGate configuration directories; disable or block file:// URI scheme handling in DbGate configuration if the option exists; immediately rotate credentials for all databases managed through DbGate; implement network segmentation to isolate DbGate from production database networks where feasible; monitor production database systems for suspicious connection attempts that may indicate credential reuse from a compromised DbGate server; no public exploit identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Medium
open-source database manager, active developer/DBA community tool
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

More in Dbgate

View all
CVE-2026-101070 MEDIUM POC
5.5 Sep 28

Path traversal in DbGate 7.3.1 and earlier allows unauthenticated remote attackers to read arbitrary files from the serv

CVE-2026-101067 MEDIUM POC
5.5 Sep 28

Path traversal in DbGate versions up to 6.8.1, 7.0.2, 7.1.8, 7.2.5, and 7.3.1 allows remote attackers to write files out

CVE-2026-101069 MEDIUM POC
5.5 Sep 28

Path traversal in DbGate versions up to 7.3.1 allows unauthenticated remote attackers to write arbitrary files via the o

CVE-2026-101068 MEDIUM POC
5.5 Sep 28

Path traversal in DbGate versions up to 7.3.1 allows unauthenticated remote attackers to write arbitrary files via the C

CVE-2026-101066 MEDIUM POC
5.5 Sep 28

Unauthenticated remote path traversal in DbGate through 7.3.1 allows attackers to manipulate the linkedFolder argument i

CVE-2026-97225 MEDIUM
5.3 Sep 24

Code injection in DbGate (a web-based database GUI) versions up to 7.2.5-beta.5 lets an authenticated user who can creat

CVE-2026-121455 MEDIUM
5.3 Nov 03

DbGate before 7.3.3 does not enforce LOGIN_PERMISSIONS connection restrictions on the /connections/test and /connections

CVE-2026-97226 MEDIUM
5.3 Sep 24

Authenticated path traversal in DbGate's files-style API endpoint lets a low-privileged remote user read files outside t

CVE-2026-6215 LOW
2.1 Apr 13

Server-side request forgery in DbGate versions 7.1.0 through 7.1.4 allows authenticated remote attackers to manipulate t

CVE-2026-6216 LOW
2.0 Apr 13

Cross-site scripting in DbGate's SVG Icon String Handler allows a remote authenticated attacker to inject malicious scri

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy