MEDIUM · CVSS 3.1 5.3 CWE-306

GHSA-7m8x-x364-m26j: Signal K Server: Buffered logs exposed to unauthenticated WebSocket clients

Published 2026-11-12 · Updated 2026-11-12

Summary

Signal K Server contains an authorization bypass where unauthenticated WebSocket clients can subscribe to the log path and receive buffered server logs. Engineering teams using affected versions of signalk-server should update immediately.

Who is affected

Affected deployments running npm signalk-server versions prior to 2.31.0-beta.1 are vulnerable. Unauthenticated clients can subscribe to the log path over WebSocket connections, allowing them to view buffered server logs without providing credentials.

Exploitability

The vulnerability is exploitable over the network (AV:N) with low attack complexity (AC:L) and requires no privileges (PR:N) or user interaction (UI:N). It results in low confidentiality impact (C:L) with no integrity or availability impact, yielding a CVSS 3.1 base score of 5.3 (Medium). EPSS is not yet available, and CISA KEV lists active exploitation as no.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
npm signalk-server >= 0, < 2.31.0-beta.1 2.31.0-beta.1 npm install [email protected]

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone

FAQ

What packages are affected?

The npm package signalk-server is affected for versions introduced before 2.31.0-beta.1.

Are unauthenticated clients normally permitted to connect to the WebSocket?

Yes, WebSocket connections are intentionally permitted before authentication because login occurs over the WebSocket connection.

Is there any active exploitation known for this vulnerability?

No, CISA KEV does not list this vulnerability as having known active exploitation.

Original advisory description
### Summary An unauthenticated WebSocket client can subscribe to the log path and receive buffered server logs. WebSocket connections are intentionally permitted before authentication because login occurs over the WebSocket connection. However, the log subscription path does not enforce an authorization check. `processSubscribe` handles subscriptions to the log path separately, without applying access control: ```ts if ( Array.isArray(msg.subscribe) && msg.subscribe.length > 0 && msg.subscribe[0].path === 'log' ) { if (!spark.logUnsubscribe) { spark.logUnsubscribe = startServerLog(app, spark) } } else { // normal subscriptions go through subscriptionmanager, which applies // securityStrategy.filterReadDelta } ``` `startServerLog` then replays the whole buffer to that socket: ```ts app.logging.getLog().forEach((log) => { spark.write({ type: 'LOG', data: log }) }) ``` The asymmetry is inside this one file. Writes are gated by `securityStrategy.shouldAllowWrite` (`ws.ts:961`), normal delta subscriptions are filtered by `securityStrategy.filterReadDelta` (`ws.ts:1159`, the else branch of this same function), and the log branch consults neither. An unauthenticated socket, which is legitimately open for login, can subscribe to `log` and receive buffered server logs. Fix: Requires an administrator principal, before `startServerLog`, in the same way the other branch defers to `securityStrategy`. The fix was released with version 2.31.0-beta.1. The investigated code path was reviewed at commit 26ab199. No server was run and no WebSocket frames were captured. AI assistance was used during the investigation.

References

Source records: GHSA-7m8x-x364-m26j (OSV.dev).