Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
Signal K Server reveals secret key and enables code execution
published 12 days ago
Summary
Versions of Signal K Server (2.0.0-2.34.0) and its resources-provider component (1.0.0-1.5.3) let any user request files outside the intended folder. By reading a configuration file they can obtain the secret used to create administrator tokens and then act as an admin to run commands on the boat's computer. Updating to Signal K Server 2.34.0 and resources-provider 1.5.3 fixes the issue.
What to do
- Update GitHub Actions signalk-server to version 2.34.0.
- Update signalk @signalk/resources-provider to version 1.5.3.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| npm | GitHub Actions | signalk-server |
>= 2.0.0, < 2.34.0 Fix: upgrade to 2.34.0
|
| npm | signalk | @signalk/resources-provider |
>= 1.0.0, < 1.5.3 Fix: upgrade to 1.5.3
|
Original advisory text
Signal K Server: Unauthenticated path traversal in resources-provider v2 API leads to JWT secret disclosure, admin impersonation and remote code execution
Signal K Server is a server application that runs on a central hub in a boat. From 2.0.0 until 2.34.0 for Signal K Server and from 1.0.0 until 1.5.3 for @signalk/resources-provider, the v2 REST route GET /signalk/v2/api/resources/:resourceType/:resourceId accepts an unsafe resourceId that can escape the intended resource directory. The route passes the attacker-controlled resourceId through src/api/resources/index.ts to FileStore.getResource() in packages/resources-provider-plugin/src/filestorage.ts without adequate path containment, allowing arbitrary JSON files reachable by the server to be read. Related PUT and DELETE resource operations can write or delete files outside the storage root. Deployments with allow_readonly enabled permit anonymous reads, while other deployments require a readonly user token. Reading security.json exposes the HS256 JWT signing secret and password hashes, allowing an attacker to forge an administrator token. Administrative access to POST /skServer/providers can then create an Execute provider that runs commands with the server process privileges and persists its configuration across restarts. This issue is fixed in Signal K Server 2.34.0 and @signalk/resources-provider 1.5.3.
References
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-22Path Traversal
Timeline
Published9 Nov 2026
Updated9 Nov 2026
First seen30 Oct 2026
Sources
GHSA-4xm8-rg9h-jhq2 · OSV
Track software like this
Free during beta