Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-88391 Overview
CVE-2026-88391 is a pre-authentication remote code execution vulnerability in Northstar (dromara/northstar), an open-source quantitative trading platform. Versions up to and including 9.1.1 enable the H2 database Console, but the application's authentication interceptor only guards the /northstar/** path. The /h2-console endpoint is reachable without authentication, and the embedded H2 database ships with the default credentials sa and an empty password. Any network-reachable attacker can connect to the console and execute arbitrary operating system commands using the H2 CREATE ALIAS feature.
Critical Impact
Unauthenticated attackers with network access to a Northstar instance can achieve full remote code execution on the host, leading to complete compromise of the trading platform and underlying system.
Affected Products
- Northstar (dromara/northstar) quantitative trading platform
- All versions up to and including 9.1.1
- Deployments that expose the embedded H2 Console on a reachable network interface
Discovery Timeline
- 2026-10-05 - CVE-2026-88391 published to the National Vulnerability Database (NVD)
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-88391
Vulnerability Analysis
The vulnerability is a Code Injection flaw [CWE-94] rooted in incomplete URL path coverage by Northstar's authentication interceptor. The interceptor is scoped to /northstar/**, which leaves auxiliary endpoints such as /h2-console outside the authentication boundary. Because the H2 Console is enabled by default in affected builds, any attacker that can reach the HTTP port can load the console UI without credentials.
Once the console is loaded, the attacker connects to the embedded H2 database using the shipped defaults: username sa and an empty password. From this authenticated database session, H2 exposes the CREATE ALIAS SQL feature, which allows definition of Java methods inline. Attackers abuse this feature to compile and execute arbitrary Java code, including calls to Runtime.getRuntime().exec(), resulting in operating system command execution under the Northstar process account.
Root Cause
Two configuration defects compound to produce pre-auth RCE. First, the Spring interceptor pattern does not cover administrative paths outside /northstar/**, leaving the H2 Console publicly reachable. Second, the embedded H2 database retains default credentials (sa / empty), so no secondary authentication barrier exists.
Attack Vector
Exploitation is remote, requires no authentication, and no user interaction. An attacker sends an HTTP request to /h2-console, authenticates to the embedded database with default credentials, then issues a CREATE ALIAS statement that defines a Java method invoking Runtime.exec. Executing the alias runs arbitrary system commands as the Northstar JVM user.
A public proof-of-concept demonstrating the full exploitation chain is available at the GitHub RCE PoC Repository.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-88391
Indicators of Compromise
- HTTP requests to /h2-console, /h2-console/login.do, or related H2 console paths from external or unexpected internal sources.
- SQL statements containing CREATE ALIAS, RUNSCRIPT, or references to java.lang.Runtime or java.lang.ProcessBuilder submitted through the H2 Console.
- Child processes spawned by the Northstar Java process executing shell interpreters such as sh, bash, cmd.exe, or powershell.exe.
- Outbound network connections initiated by the Northstar JVM to unknown hosts shortly after H2 Console access.
Detection Strategies
- Monitor web access logs for any request path beginning with /h2-console and alert on hits that are not from an administrative source.
- Deploy process-lineage detections that flag the Northstar java process spawning command interpreters or scripting binaries.
- Hunt for anomalous file writes under the Northstar working directory, particularly executables, scripts, or dropped payloads following H2 Console activity.
Monitoring Recommendations
- Enable verbose HTTP access logging on the Northstar listener and forward logs to a centralized analytics platform for retention and query.
- Baseline normal network connections for the Northstar host and alert on new egress destinations, especially from the JVM process.
- Review authentication interceptor coverage during application updates to ensure new paths remain protected.
How to Mitigate CVE-2026-88391
Immediate Actions Required
- Restrict network access to the Northstar HTTP listener using firewall rules, security groups, or a reverse proxy so that only trusted administrators can reach it.
- Disable the H2 Console in the Spring Boot configuration by setting spring.h2.console.enabled=false until a patched version is deployed.
- Change the embedded H2 database credentials from the default sa / empty password to a strong, unique password.
- Audit web and process logs for prior access to /h2-console and any suspicious child processes of the Northstar JVM.
Patch Information
At the time of publication, the vendor advisory references upstream repository fixes. Operators should upgrade to a release of dromara/northstar later than 9.1.1 that both scopes the authentication interceptor to cover all administrative endpoints and disables the H2 Console by default. Consult the GitHub RCE PoC Repository and the project's release notes for current fix availability.
Workarounds
- Add an explicit Spring Security or interceptor rule that denies unauthenticated access to /h2-console/** and any non-/northstar/** administrative paths.
- Bind the H2 Console to localhost only by setting spring.h2.console.settings.web-allow-others=false and front the application with an authenticated reverse proxy.
- Place Northstar behind a VPN or zero-trust gateway so the HTTP interface is not exposed to untrusted networks.
# Configuration example: disable H2 console and restrict access in application.properties
spring.h2.console.enabled=false
spring.h2.console.settings.web-allow-others=false
# If the H2 console must remain enabled, change default DB credentials
spring.datasource.username=northstar_admin
spring.datasource.password=<strong-unique-password>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

