Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-47668 – Unauthenticated Remote Code Execution via Code Injection – DbGate ≤ 7.1.8

Be the first to know when new zero-days emerge:

Summary

CVE-2026-47668 is a critical unauthenticated Remote Code Execution (RCE) vulnerability in DbGate, a cross-platform web-based database manager. Affecting all versions up to and including 7.1.8, the flaw resides in DbGate’s JSON script runner endpoint, where user-supplied input is interpolated directly into dynamically generated JavaScript without sanitization and subsequently executed in a forked Node.js child process. The vulnerability carries a maximum CVSS v3.1 base score of 10.0 (Critical) and requires no authentication, no user interaction, and no special privileges to exploit.

Technical details

  • Root cause: The assignCore() method in ScriptWriter.ts constructs executable JavaScript by directly concatenating the attacker-controlled functionName (and variableName) parameters from JSON assign commands into generated source code without any input validation or sanitization. By default, DbGate ships with authentication disabled, meaning the endpoint is reachable by any unauthenticated network peer.
  • Trigger condition: An attacker sends a crafted HTTP POST request to the /runners/start endpoint containing a JSON script with a malicious assign command. The injected payload (e.g., "x;MALICIOUS_CODE;//") forms syntactically valid JavaScript that causes arbitrary code to execute before the intended code path.
  • Attack vector: Network-accessible, no authentication required (PR:N, UI:N). On default DbGate deployments where authentication is disabled, exploitation is fully unauthenticated. Even on authenticated deployments, any authorized user can trigger the vulnerability.
  • Execution context: The injected code runs inside a forked Node.js child process with access to system resources, enabling arbitrary OS command execution at the privilege level of the DbGate process.
  • Impact: Full remote code execution — including arbitrary OS command execution, credential and data exfiltration, lateral movement within internal networks, and complete host takeover. The CVSS scope change (S:C) reflects that exploitation can affect resources beyond the DbGate process itself.
  • Public exploit availability: A public proof-of-concept exploit is available at https://github.com/Nxploited/CVE-2026-47668, and an automated detection template has been merged into the nuclei-templates project.

Affected software

  • DbGate (dbgate / dbgate-serve): all versions ≤ 7.1.8

Severity

  • CVSS v3.1 Base Score: 10.0 (Critical)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • CWEs: CWE-94 (Code Injection), CWE-20 (Improper Input Validation), CWE-1188 (Insecure Default Initialization)

Mitigation and recommended actions

  • Immediate patch: Upgrade DbGate / dbgate-serve to version 7.1.9 or later, which introduces validation for function and file names and resolves the code injection flaw.
  • Enable authentication: If immediate patching is not possible, explicitly configure authentication on DbGate deployments rather than relying on the default anonymous mode. Restrict access to the /runners/start endpoint to trusted users and networks only.
  • Network isolation: Ensure DbGate instances are not exposed directly to the internet. Place instances behind a firewall or VPN and restrict inbound access to the management interface ports (commonly 3000 or 5003).
  • Audit logs: Review application logs for unexpected or unauthorized POST requests to /runners/start as an indicator of exploitation attempts.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge