Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Critical · 9.8 Node.js & npm GHSA-4xm8-rg9h-jhq2 CVE-2026-123807

Critical Path Traversal in Signal K Server Allows JWT Secret Theft and Remote Code Execution

An unauthenticated path traversal vulnerability in Signal K Server's resources-provider v2 API allows attackers to read arbitrary files, steal the JWT signing secret, impersonate administrators, and execute code on the server. Fixed in Signal K Server 2.34.0 and @signalk/resources-provider 1.5.3.

By PatchBriefing · ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 4 sources · updated 1 week ago

AI summary

A critical vulnerability has been disclosed in Signal K Server, a server application used as a central data hub aboard boats. The flaw resides in the v2 resources API and allows attackers to escape the intended resource storage directory, ultimately exposing sensitive secrets that can be leveraged to gain administrative control and execute arbitrary commands on the host system.

What happened

A path traversal vulnerability was identified in the v2 REST route GET /signalk/v2/api/resources/:resourceType/:resourceId of Signal K Server. The route accepts an attacker-controlled resourceId value that is not adequately contained within the intended resource directory. This allows arbitrary JSON files reachable by the server to be read. Related PUT and DELETE operations on resources can similarly be abused to write or delete files outside the intended storage root.

Technical cause

The vulnerability is classified as CWE-22, Improper Limitation of a Pathname to a Restricted Directory. The resourceId parameter passed through the resources API code is forwarded to the FileStore.getResource() function without adequate path containment, allowing it to escape the resource directory. In deployments where the allow_readonly setting is enabled, these requests can be made anonymously; in other deployments, a readonly user token is required to reach the vulnerable route.

Why it matters

Reading the security.json file through this path traversal exposes the HS256 JWT signing secret as well as password hashes. With the JWT secret in hand, an attacker can forge a valid administrator authentication token. That forged administrator token can then be used to call POST /skServer/providers and create an Execute provider, which runs commands with the privileges of the server process. The malicious provider configuration persists across server restarts, giving the attacker a durable foothold.

Who is affected

Any installation running Signal K Server with the resources-provider plugin within the affected version ranges is at risk. Deployments with allow_readonly enabled are exposed to fully anonymous, unauthenticated attacks. Deployments without allow_readonly still require only a readonly user token to reach the vulnerable endpoint, which is a comparatively low bar for exploitation.

Affected versions

Signal K Server is affected from version 2.0.0 up to (not including) 2.34.0. The @signalk/resources-provider package is affected from version 1.0.0 up to (not including) 1.5.3.

Fixes and mitigation

This issue is fixed in Signal K Server 2.34.0 and @signalk/resources-provider 1.5.3. Administrators should update to these fixed versions to resolve the vulnerability.

Recommended action

Update Signal K Server to version 2.34.0 or later, and update the @signalk/resources-provider package to version 1.5.3 or later, as soon as possible given the critical severity and unauthenticated attack path. Until the update is applied, consider disabling the allow_readonly setting if enabled, and review access to readonly user tokens, as these reduce but do not eliminate exposure. After updating, it is advisable to review security.json and rotate the JWT signing secret and any credentials that may have been exposed, and to audit the list of configured providers under /skServer/providers for unauthorized Execute provider entries.

PatchBriefing score

9.8 / 10 · Critical

Official CVSS: 9.8

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

EPSS 0.0243 (85 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

signalk-server ≥ 2.0.0 < 2.34.0
vulnerable
signalk-server >= 2.0.0, < 2.34.0
vulnerable
≥ 2.34.0
patched
@signalk/resources-provider ≥ 1.0.0 < 1.5.3
vulnerable
@signalk/resources-provider >= 1.0.0, < 1.5.3
vulnerable
≥ 1.5.3
patched

Reported fixes

This issue is fixed in Signal K Server 2.34.0 and @signalk/resources-provider 1.5.3. Administrators should update to these fixed versions to resolve the vulnerability.

How this was built

4 source records were collected, matched and used to prepare the report above.

  • GitHub Advisory Database database
  • OSV.dev database
  • CVE.org database
  • NVD (NIST) database
Unified report
Critical Path Traversal in Signal K Server Allows JWT Secret Theft and Remote Code Execution
1 article · 4 sources cited
Revision history
  1. Published
  2. Generated
  3. Published
  4. Generated
  5. Published
  6. Early Warning
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email