{"id":"CVE-2026-47668","published":"2026-07-23T17:34:52Z","modified":"2026-07-24T03:56:27Z","title":"DbGate: Unauthenticated Remote Code Execution via JSON Script Runner","vendor":"dbgate","product":"dbgate","tier":"core","eol":null,"affectedVersions":[{"vendor":"dbgate","product":"dbgate","versions":["< 7.1.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-23T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"description":{"text":"DbGate is cross-platform database manager. In versions 7.1.8 and prior, DbGate's JSON script runner (`POST /runners/start`) allows remote code execution via code injection in the `functionName` parameter of JSON script `assign` commands. The `functionName` value is interpolated directly into dynamically generated JavaScript source code via string concatenation. The generated code is then executed in a forked Node.js child process. Version 7.1.9 contains a patch.","provenance":"source","from":"CVE.org"},"summary":{"text":"DbGate, a cross-platform database manager, has a code injection flaw in its JSON script runner (the POST /runners/start endpoint) in versions 7.1.8 and prior, where the functionName value in assign commands is concatenated directly into generated JavaScript that runs in a forked Node.js child process. An attacker who can reach the endpoint over the network, without authentication or user interaction, can inject code into that generated source and achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:11:33Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03882,"percentile":0.90477,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-11-10","exploitedFirstSeen":null,"ransomware":false,"evidence":[],"evidenceTotal":0,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dbgate/dbgate/releases/tag/v7.1.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/runZeroInc/nuclei-templates/blob/main/http/vulnerabilities/dbgate-unauth-rce.yaml","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"npm","package":"dbgate-serve","vulnerableRanges":["<7.1.9"],"patched":["7.1.9"],"from":["GHSA-8v3q-9vmx-36vc"],"provenance":"source"}],"advisories":[{"id":"GHSA-8v3q-9vmx-36vc","url":"https://github.com/advisories/GHSA-8v3q-9vmx-36vc","severity":"CRITICAL","ecosystem":"npm","package":"dbgate-serve","vulnerableRanges":["<7.1.9"],"patched":["7.1.9"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-48340","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48340","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-05-26","earliestUrl":"https://github.com/Nxploited/CVE-2026-47668","repos":[{"name":"Nxploited/CVE-2026-47668","url":"https://github.com/Nxploited/CVE-2026-47668","stars":6,"created":"2026-05-26"},{"name":"s-vx/CVE-2026-47668","url":"https://github.com/s-vx/CVE-2026-47668","stars":0,"created":"2026-07-31"}]},"nuclei":[{"id":"CVE-2026-47668","name":"DbGate - Remote Code Execution via Anonymous JWT","severity":"critical","path":"http/cves/2026/CVE-2026-47668.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-47668.yaml"}],"first":{"date":"2026-05-26","source":"PoC-in-GitHub","url":"https://github.com/Nxploited/CVE-2026-47668"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-05-26","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/Nxploited/CVE-2026-47668","provenance":"source"},{"date":"2026-07-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2026-47668","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":75.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 11 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.1,"detail":"percentile 0.9048"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}