nday
GHSA-7m8x-x364-m26j

Signal K Server: Buffered logs exposed to unauthenticated WebSocket clients

Divulgation : . Version corrigée : signalk-server 2.31.0-beta.1. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

authentication bypass
CWE-306, stated by GitHub advisory GHSA-7m8x-x364-m26j
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-7m8x-x364-m26j
npm
GHSA-7m8x-x364-m26j: npm packages signalk-server
étape actuelle
PAT
divulgation
CVSS
5.3 MEDIUM v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
11-12T19:14Z
PATcorrectif
signalk-server 2.31.0-beta.1
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

### Summary

An unauthenticated WebSocket client can subscribe to the log path and receive buffered server logs.

WebSocket connections are intentionally permitted before authentication because login occurs over the WebSocket connection. However, the log subscription path does not enforce an authorization check.

processSubscribe handles subscriptions to the log path separately, without applying access control:

if (
  Array.isArray(msg.subscribe) &&
  msg.subscribe.length > 0 &&
  msg.subscribe[0].path === 'log'
) {
  if (!spark.logUnsubscribe) {
    spark.logUnsubscribe = startServerLog(app, spark)
  }
} else {
  // normal subscriptions go through subscriptionmanager, which applies
  // securityStrategy.filterReadDelta
}

startServerLog then replays the whole buffer to that socket:

app.logging.getLog().forEach((log) => {
  spark.write({ type: 'LOG', data: log })
})

The asymmetry is inside this one file. Writes are gated by securityStrategy.shouldAllowWrite (ws.ts:961), normal delta subscriptions are filtered by securityStrategy.filterReadDelta (ws.ts:1159, the else branch of this same function), and the log branch consults neither.

An unauthenticated socket, which is legitimately open for login, can subscribe to log and receive buffered server logs.

Fix: Requires an administrator principal, before startServerLog, in the same way the other branch defers to securityStrategy. The fix was released with version 2.31.0-beta.1.

The investigated code path was reviewed at commit 26ab199. No server was run and no WebSocket frames were captured. AI assistance was used during the investigation.

Original text of GitHub advisory GHSA-7m8x-x364-m26j, shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from GitHub advisory GHSA-7m8x-x364-m26j.

Journal des événements

+DISdivulgation

ghsa a signalé une divulgation.

source ghsa · importé en masse par nday le · brut
{
  "id": 473988,
  "type": "disclosed",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-7m8x-x364-m26j",
  "occurred_at": "2026-11-12T19:14:00Z",
  "observed_at": "2026-11-16T19:07:30.503253Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-7m8x-x364-m26j",
  "detail": {
    "state": "PUBLISHED",
    "ghsa_id": "GHSA-7m8x-x364-m26j",
    "withdrawn_at": null
  }
}
date inconnuela source ne donne aucune date
+PATcorrectif disponible

L’avis indique la version corrigée signalk-server 2.31.0-beta.1. L’avis renvoie vers les commits de correction. Avis publié le  ; la date de publication du correctif lui-même n’est pas renseignée.

source ghsa · importé en masse par nday le · brut
{
  "id": 473989,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-7m8x-x364-m26j",
  "occurred_at": null,
  "observed_at": "2026-11-16T19:07:30.503253Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-7m8x-x364-m26j",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.3,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Missing Authentication for Critical Functionality",
        "cwe_id": "CWE-306"
      }
    ],
    "ghsa_id": "GHSA-7m8x-x364-m26j",
    "packages": [
      {
        "name": "signalk-server",
        "ecosystem": "npm",
        "first_patched_version": "2.31.0-beta.1",
        "vulnerable_version_range": "< 2.31.0-beta.1"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/SignalK/signalk-server/security/advisories/GHSA-7m8x-x364-m26j",
      "https://github.com/SignalK/signalk-server/commit/1bee85114a4cb7403aba71632d9902792d6b4f0c",
      "https://github.com/SignalK/signalk-server/releases/tag/v2.31.0",
      "https://github.com/SignalK/signalk-server/releases/tag/v2.31.0-beta.1",
      "https://github.com/advisories/GHSA-7m8x-x364-m26j"
    ],
    "fix_commit_urls": [
      "https://github.com/SignalK/signalk-server/commit/1bee85114a4cb7403aba71632d9902792d6b4f0c"
    ],
    "github_reviewed_at": "2026-11-12T19:14:00Z",
    "advisory_updated_at": "2026-11-12T19:14:01Z",
    "source_code_location": "https://github.com/SignalK/signalk-server",
    "advisory_published_at": "2026-11-12T19:14:00Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Discussion

0 comments

No comments yet.