Detect CVE-2026-47668: DbGate Unauthenticated RCE via JSON Script Runner in CrowdStrike LogScale
Detects exploitation of CVE-2026-47668, a critical unauthenticated remote code execution vulnerability in dbgate-serve <= 7.1.8. The JSON Script Runner endpoint accepts and executes arbitrary JavaScript/JSON payloads without authentication, allowing attackers to achieve full server compromise. A public PoC is available.
MITRE ATT&CK
- Tactic
- Initial Access Execution Persistence Impact
LogScale Detection Query
#event_simpleName=NetworkReceiveAccept OR #event_simpleName=NetworkConnectIP4
| ImageFileName=/dbgate|node/i
| LocalPort in (3000, 3001, 8080, 8443, 8000)
| join type=inner (
#event_simpleName=ProcessRollup2
| ImageFileName=/node(\.exe)?$/i
| CommandLine=/dbgate|serve/i
| field [aid, TargetProcessId]
) [aid, ContextProcessId=TargetProcessId]
| eval risk="dbgate_network_activity"
| table _time, aid, ComputerName, LocalPort, RemoteAddressIP4, ImageFileName, CommandLine CrowdStrike CQL query correlating network activity on common dbgate ports with node.js processes matching dbgate execution context, flagging potential exploitation vectors.
Data Sources
Required Tables
False Positives & Tuning
- Legitimate dbgate deployments accessible from internal networks
- Other Node.js applications running on the same ports
- Development machines running dbgate locally
Other platforms for CVE-2026-47668
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1CVE-2026-47668 PoC — Unauthenticated Script Execution via curl
Expected signal: HTTP POST to /script/run with JSON body containing require('child_process'); Node.js spawns a child process (execve syscall with ppid=node); file /tmp/pwned.txt created by node process user
- Test 2CVE-2026-47668 — Reverse Shell Payload via Script Runner
Expected signal: Node.js spawns /bin/sh child process; outbound TCP connection from node process to ATTACKER_IP:4444 visible in netflow and EDR network telemetry
- Test 3CVE-2026-47668 — Version Fingerprinting and Endpoint Discovery
Expected signal: Multiple GET and POST requests to dbgate host from single source IP in short succession; POST to /script/run with simple JS payload; file write event from node process
Unlock Pro Content
Get the full detection package for CVE-2026-47668 including response playbook, investigation guide, and atomic red team tests.