9.1
Critical
signalk-server

CVE-2025-68620

CVE-2025-68620 is a critical-severity security vulnerability in signalk-server (npm), affecting versions < 2.19.0. It is fixed in 2.19.0.

Key facts
CVSS score
9.1
Critical
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
signalk-server
Fixed in
2.19.0
Disclosed
2025

Summary

SignalK Server exposes two features that can be chained together to steal JWT authentication tokens without any prior authentication. The attack combines WebSocket-based request enumeration with unauthenticated polling of access request status. Unauthenticated WebSocket Request Enumeration: When a WebSocket client connects to the SignalK stream endpoint with the serverevents=all query parameter, the server sends all cached server events including ACCESSREQUEST events that contain details about pending access requests. The startServerEvents function iterates over app.lastServerEvents and writes each cached event to any connected client without verifying authorization level. Since WebSocket connections are allowed for readonly users (which includes unauthenticated users when allowreadonly is true), attackers receive these events containing request IDs, client identifiers, descriptions, requested permissions, and IP addresses. Unauthenticated Token Polling: The access request status endpoint at /signalk/v1/access/requests/:id returns the full state of an access request without requiring authentication. When an administrator approves a request, the response includes the issued JWT token in plaintext. The queryRequest function returns the complete request object including the token field, and the REST endpoint uses readonly authentication, allowing unauthenticated access. An attacker has two paths to exploit these vulnerabilities: The attacker creates their own access request (using the IP spoofing vulnerability to craft a convincing spoofed request), then polls their own request ID until an administrator approves it, receiving the JWT token. The attacker passively monitors the WebSocket stream to discover request IDs from legitimate devices, then polls those IDs and steals the JWT tokens when administrators approve them, hijacking legitimate device credentials. Both paths require zero authentication and enable complete authentication bypass. Affected Code File: src/events.ts (lines 40-43) All cached server events, including ACCESSREQUEST, are sent to any connected WebSocket client without permission checks. File: src/tokensecurity.js (lines 946-948) This function returns all pending requests with full details, which is then broadcast as a server event. File: src/requestResponse.js (lines 108-135) When an access request transitions to COMPLETED state with APPROVED permission, the token is included in the reply object. File: src/interfaces/rest.js (endpoint registration) The /signalk/v1/access/requests/:id endpoint uses readonly authentication, allowing unauthenticated access when allowreadonly is true. Impact An attacker can obtain any JWT token issued by the server without authentication. By exploiting the social engineering vulnerability to request admin permissions, they receive a fully privileged admin token granting access to all protected endpoints including package installation, effectively bypassing authentication entirely. Additionally, attackers can hijack legitimate device credentials by stealing tokens intended for real devices. PoC Recommendations Require strict authentication for all WebSocket channels. The serverevents=all parameter should only be accessible to authenticated admin users. Unauthenticated or readonly users should not receive any server events. Place ACCESS_REQUEST events behind strict authentication. Even if other server events are available to readonly users, access request details must only be sent to authenticated administrators. Implement client verification so only the original requester can retrieve their token Consider delivering tokens through a separate secure channel rather than the polling endpoint

Impact

Severity and exposure

CVE-2025-68620 has a CVSS score of 9.1 (Critical). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (2.19.0). Upgrading removes the vulnerable code path.

Affected versions

npm

  • signalk-server (< 2.19.0)

Security releases

  • signalk-server → 2.19.0 (npm)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2025-68620 is reachable in your applications. Explore open-source security for your team.

See if CVE-2025-68620 is reachable in your applications. Get a demo

Remediation advice

Upgrade signalk-server to 2.19.0 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2025-68620

What is CVE-2025-68620?

CVE-2025-68620 is a critical-severity security vulnerability in signalk-server (npm), affecting versions < 2.19.0. It is fixed in 2.19.0.

How severe is CVE-2025-68620?

CVE-2025-68620 has a CVSS score of 9.1 (Critical). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of signalk-server are affected by CVE-2025-68620?

signalk-server (npm) versions < 2.19.0 is affected.

Is there a fix for CVE-2025-68620?

Yes. CVE-2025-68620 is fixed in 2.19.0. Upgrade to this version or later.

Is CVE-2025-68620 exploitable, and should I be worried?

Whether CVE-2025-68620 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2025-68620 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2025-68620?

Upgrade signalk-server to 2.19.0 or later.

Stop the waste.
Protect your environment with Kodem.