Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed dbgate API
-
DeliverySend export request with traversal outputFile
-
ExploitBypass path validation in exportModelSql
-
ExecutionWrite file outside intended directory
-
ImpactOverwrite/plant file for tampering or further compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires network reachability to a dbgate instance (<=7.3.1) whose backend API exposes the model-SQL export functionality (exportModelSql). The attacker must be able to supply the outputFile parameter with traversal sequences to the Export Handler. The CVSS vector rates this PR:N/UI:N (no authentication or user interaction), but realistic exploitation is limited to deployments where the dbgate API is network-exposed and not protected by authentication or bound only to localhost - self-hosted/multi-user web deployments are the primary at-risk configuration. Impact is constrained to writing SQL-export content, so full code execution depends on writing to a sensitive/executable path. |
| Impact | This is a genuine but moderate-severity issue best treated as medium-low priority. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:N/VI:L/VA:L) scores 5.5 and describes a remotely reachable, low-complexity path traversal in dbgate's export handler yielding limited integrity and availability impact (arbitrary file write of SQL-model export content), with no confidentiality impact. Signals are mostly consistent: a public exploit exists (E:P and a GitHub PoC titled 'dbgate_export_model_sql_arbitrary_write.md', confirming arbitrary WRITE rather than read), but there is NO EPSS score provided and the CVE is NOT on CISA KEV, so there is no evidence of active exploitation - only publicly available exploit code. The main tension is the PR:N (unauthenticated) rating: dbgate is a database management tool whose API/web deployments are frequently protected by login or bound to localhost, so real-world unauthenticated exposure depends heavily on how the instance is deployed - verify whether the target dbgate exposes the API without authentication. Impact is also bounded because the written content is constrained to export output, limiting straightforward code-execution unless the write lands on a sensitive path (e.g., a startup script or web-served file). Vendor did not respond and no fixed version is published, which slightly raises operational risk for exposed instances. |
| Exploit ScenarioDerived | An attacker who can reach a dbgate (<=7.3.1) API instance sends a crafted export request to the exportModelSql endpoint with an outputFile value containing directory-traversal sequences (e.g., ../../). The server writes the SQL model export to an attacker-chosen filesystem location, enabling arbitrary file write, potential overwrite of existing files, or dropping content into a sensitive path. A public proof-of-concept for this arbitrary-write path traversal is available on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
Path traversal in DbGate versions up to 7.3.1 allows unauthenticated remote attackers to write arbitrary files via the outputFile parameter in the exportModelSql function of the Export Handler. Publicly available exploit code exists, and the vendor did not respond to disclosure, so no official patch is available. The CVSS 4.0 score is 5.5 (medium), with limited integrity and availability impact; exploitation requires the DbGate API to be network-reachable, and full code execution depends on targeting a sensitive write path.
RemediationAI
No vendor-released patch is identified at time of analysis; upgrade to a fixed version when released by DbGate. As compensating controls, restrict network access to the DbGate API by binding it to localhost, placing it behind a firewall, or using a VPN, since exploitation requires network reachability to the Export Handler. If the exportModelSql functionality is not needed, disable or remove the corresponding route in packages/api/src/controllers/databaseConnections.js. Run DbGate with least privileges-dedicated user, read-only filesystem where possible-to limit file write impact. Use a reverse proxy to block requests containing path traversal sequences (e.g., ../) in the outputFile parameter. Monitor for unexpected file writes in sensitive directories. When a patch becomes available, apply it promptly.
Affected VersionsENISA
Affected Packages
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
The vulnerability is a path traversal (CWE-22) in the Node.js-based DbGate database management tool. The exportModelSql function in packages/api/src/controllers/databaseConnections.js takes an outputFile argument and uses it to construct a file path without proper sanitization, allowing an attacker to include ../ sequences to escape the intended export directory and write files to arbitrary locations on the server. DbGate's backend API exposes this functionality remotely, and the CVSS 4.0 vector indicates network attack (AV:N), no privileges (PR:N), and no user interaction (UI:N), making it unauthenticated. The affected component is the Export Handler within DbGate up to 7.3.1, as reflected by the CPE. The impact is an arbitrary file write, which can overwrite configuration, SQL exports, or other files, and potentially lead to code execution if a critical file is targeted, though the primary effect is limited to file integrity and availability.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Remote low-complexity traversal per vendor vector; arbitrary write gives limited integrity and availability impact, no confidentiality; PR:N kept to match vendor though many deployments are authenticated.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A weakness has been identified in dbgate up to 7.3.1. Affected is the function exportModelSql of the file packages/api/src/controllers/databaseConnections.js of the component Export Handler. Executing a manipulation of the argument outputFile can lead to path traversal. The attack can be executed remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Path traversal in DbGate 7.3.1 and earlier allows unauthenticated remote attackers to read arbitrary files from the serv
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
Path traversal in DbGate versions up to 7.3.1 allows unauthenticated remote attackers to write arbitrary files via the C
Unauthenticated remote path traversal in DbGate through 7.3.1 allows attackers to manipulate the linkedFolder argument i
Arbitrary file read and write in DbGate through version 7.2.6 allows authenticated low-privilege users to escape the app
Code injection in DbGate (a web-based database GUI) versions up to 7.2.5-beta.5 lets an authenticated user who can creat
Authenticated path traversal in DbGate's files-style API endpoint lets a low-privileged remote user read files outside t
Server-side request forgery in DbGate versions 7.1.0 through 7.1.4 allows authenticated remote attackers to manipulate t
Cross-site scripting in DbGate's SVG Icon String Handler allows a remote authenticated attacker to inject malicious scri
EUVD-2026-88245
GHSA-8cww-26w7-j8m5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB