Vulnerabilities

Vulnerability · GHSA-4xm8-rg9h-jhq2

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

Published Oct 30, 2026 · catalog updated Oct 30, 2026 · Signal K resources API

Last checked Oct 31, 2026. A connected source was read within the last 7 days.

Open the advisory

Exploitation likelihood is not on this record for GHSA-4xm8-rg9h-jhq2. A missing EPSS score is not a low risk. Compare Signal K resources API with the linked advisory before you change production.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (Signal K resources API).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
  • EPSS is missing. A missing score is not a low risk.
Severity
Critical9.8
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
Awaiting synchronization with FIRST
Remediation
Advisory link
Affected products
npm @signalk/resources-provider · npm signalk-server

### Summary 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. ### Details ## Description The v2 REST resources API passes to without validation. builds the file path with followed by + , so a -encoded multi-level traversal ( ) escapes the resource storage directory and returns any JSON file on the server (source: , ). Because the JWT signing secret is stored in plaintext in (generated at , persisted via at ), an unauthenticated attacker on deployments with (a supported, UI-toggleable configuration granting anonymous read access) can: 1. **Read ** — disclosing the JWT signing secret (512-hex) and user password hashes. 2. **Forge an admin JWT** — HS256-sign with the disclosed secret; accepted by ( ) and all admin-protected endpoints ( , , applied at ). 3. **Gain remote code execution** — (admin) accepts a provider of type ; executes it via at creation time. The provider persists to and survives restarts. On default deployments ( ), step 1 returns 401 to anonymous users but succeeds with any readonly user token. ## Suggested fixes 1. Validate against a strict whitelist (for example, UUID format) in before any storage call, including PUT/DELETE. 2. In , canonicalise with and reject results outside . 3. Store the JWT signing secret outside the API-readable config directory, in a dedicated key file with mode 0600. 4. Consider gating provider types that execute commands ( ) behind an explicit opt-in. ### Proof of concept Fully local testbed. Start the server, enable , then run: Reproduction verified independently on master (Node 22 / macOS), including restart persistence. PoC artifacts are available on request. ### Impact Unauthenticated access (with ) leads to full compromise of the server process: arbitrary JSON file read, admin takeover, arbit

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • npm @signalk/resources-provider1.0.0 → 1.5.3
  • npm signalk-server2.0.0 → 2.34.0

How to fix GHSA-4xm8-rg9h-jhq2

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

Exploitation likelihood is not on this record for GHSA-4xm8-rg9h-jhq2. A missing EPSS score is not a low risk. Compare Signal K resources API with the linked advisory before you change production.

Which versions are affected?

Compare what you have installed with 1.0.0 → 1.5.3, 2.0.0 → 2.34.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-22: Path Traversal. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 30, 2026 · GitHub Advisory Database

    Detected

    ### Summary 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. ### Details ## Description The v2 REST resources API passes to without validation. builds the file path wit

  2. Oct 30, 2026 · GitHub Advisory Database

    Fix available

    signalk-server fixed in 2.34.0; @signalk/resources-provider fixed in 1.5.3

  3. Oct 30, 2026 · GitHub Advisory Database

    Fix available

    signalk-server fixed in 2.34.0

  4. Oct 30, 2026 · GitHub Advisory Database

    Fix available

    @signalk/resources-provider fixed in 1.5.3

  5. Oct 30, 2026 · GitHub Advisory Database

    Updated

    ### Summary 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. ### Details ## Description The v2 REST resources API passes to without validation. builds the file path wit

Sources

References

Freshness

Last verified in this catalog Oct 30, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • GitHub Advisory DatabaseOct 31, 2026
  • OpenSSF OSV / OSV ScannerOct 31, 2026