{"id":"CVE-2026-47668","state":"PUBLISHED","title":"DbGate: Unauthenticated Remote Code Execution via JSON Script Runner","description":"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.","publishedAt":"2026-07-23T17:34:52.399Z","updatedAt":"2026-07-24T03:56:27.625Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["dbgate dbgate"],"affected":[{"vendor":"dbgate","product":"dbgate","versions":[{"version":"< 7.1.9","status":"affected"}]}],"references":["https://github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc","https://github.com/dbgate/dbgate/releases/tag/v7.1.9","https://github.com/runZeroInc/nuclei-templates/blob/main/http/vulnerabilities/dbgate-unauth-rce.yaml"],"weaknesses":["CWE-20","CWE-94","CWE-1188"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/47xxx/CVE-2026-47668.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-47668","state":"PUBLISHED","datePublished":"2026-07-23T17:34:52.399Z","dateUpdated":"2026-07-24T03:56:27.625Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-19T21:10:38.797Z"},"containers":{"cna":{"title":"DbGate: Unauthenticated Remote Code Execution via JSON Script Runner","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"dbgate","product":"dbgate","versions":[{"version":"< 7.1.9","status":"affected"}]}],"references":[{"url":"https://github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc","name":"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","name":"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","name":"https://github.com/runZeroInc/nuclei-templates/blob/main/http/vulnerabilities/dbgate-unauth-rce.yaml","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1188","lang":"en","description":"CWE-1188: Insecure Default Initialization of Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-23T17:34:52.399Z"},"source":{"advisory":"GHSA-8v3q-9vmx-36vc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/dbgate/dbgate/security/advisories/GHSA-8v3q-9vmx-36vc","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-23T00:00:00+00:00","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-47668"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-24T03:56:27.625Z"}}]}}}