All vulnerabilities

npm

CVE-2026-123807

Signal K resources API path traversal can disclose the JWT signing secret and enable remote code execution

Severity
Critical 9.8
Published
30 Oct 2026
Last changed
9 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.5.3, 2.34.0
Exploit chance
2% in the next 30 daysHigher than 80% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-4xm8-rg9h-jhq2
Sources
OSV.dev and GitHub

Description

Path traversal in the Signal K resources and applicationData APIs lets an unauthenticated or low-privileged user read, write and delete files outside the storage root. Reading /security.json discloses the JWT signing secret, enabling admin token forgery and remote code execution.

The v2 REST resources API GET /signalk/v2/api/resources/:resourceType/:resourceId passes resourceId to FileStore.getResource() without validation. getResource() builds the file path with path.join(this.resources[type].path, itemUuid) followed by readFile + JSON.parse, so a %2F-encoded multi-level traversal (..%2F..%2F..%2F..%2F) escapes the resource storage directory and returns any JSON file on the server (source: src/api/resources/index.ts:559-600, packages/resources-provider-plugin/src/filestorage.ts:115-125).

Because the JWT signing secret is stored in plaintext in /security.json (generated at src/tokensecurity.ts:271, persisted via saveSecurityConfig at src/security.ts:377), an unauthenticated…

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
@signalk/resources-providernpm · osv:npm:@signalk/resources-provider
  • From 1.0.0 before 1.5.3
signalk-servernpm · osv:npm:signalk-server
  • From 2.0.0 before 2.34.0

About @signalk/resources-provider

Weekly downloads (npm)
4,769npm, 24 Nov 2026

This is the only vulnerability in @signalk/resources-provider in our list.

About signalk-server

Weekly downloads (npm)
7,925npm, 23 Nov 2026

References