GHSA-gfmv-vh34-h2x5

Suggest an improvement
Source
https://github.com/advisories/GHSA-gfmv-vh34-h2x5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gfmv-vh34-h2x5/GHSA-gfmv-vh34-h2x5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gfmv-vh34-h2x5
Aliases
  • CVE-2026-33951
Published
2026-04-03T21:42:11Z
Modified
2026-04-06T23:34:46.536337Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Signal K Server: Unauthenticated Source Priorities Manipulation
Details

Summary

The SignalK Server exposes an unauthenticated HTTP endpoint that allows remote attackers to modify navigation data source priorities. This endpoint, accessible via PUT /signalk/v1/api/sourcePriorities, does not enforce authentication or authorization checks and directly assigns user-controlled input to the server configuration.

As a result, attackers can influence which GPS, AIS, or other sensor data sources are trusted by the system. The changes are immediately applied and persisted to disk, allowing the manipulation to survive server restarts.

Affected Component

  • File: src/serverroutes.ts
  • Endpoint: PUT /signalk/v1/api/sourcePriorities (also accessible at /skServer/sourcePriorities)
  • Lines: 1064-1076
  • Function: Source priorities configuration handler

Vulnerable Code

// src/serverroutes.ts - Lines 1064-1076
app.put(
  `${SERVERROUTESPREFIX}/sourcePriorities`,
  (req: Request, res: Response) => {
    app.config.settings.sourcePriorities = req.body
    app.activateSourcePriorities()
    writeSettingsFile(app, app.config.settings, (err: any) => {
      if (err) {
        res
          .status(500)
          .send('Unable to save to sourcePrefences in settings file')
      } else {
        res.json({ result: 'ok' })
      }
    })
  }
)

Vulnerability Characteristics

Missing Authentication: The endpoint has zero authentication middleware, allowing unauthenticated access from any network-adjacent attacker.

Direct Configuration Assignment: User-supplied request body is directly assigned to app.config.settings.sourcePriorities without validation or sanitization.

Persistent Storage: Malicious configuration is written to disk via writeSettingsFile(), ensuring changes survive server restarts. Live Configuration Update: Changes take effect immediately via activateSourcePriorities(), affecting live navigation data processing.

No Input Validation: No JSON schema validation, type checking, or field allowlisting is performed on the request body.

Impact

  • Navigation Data Manipulation: Attackers can modify source priorities to change which existing, active source's data is being used
Database specific
{
    "github_reviewed_at": "2026-04-03T21:42:11Z",
    "nvd_published_at": "2026-04-02T17:16:23Z",
    "cwe_ids": [
        "CWE-284",
        "CWE-306"
    ],
    "severity": "MODERATE",
    "github_reviewed": true
}
References

Affected packages

npm / signalk-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.24.0-beta.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gfmv-vh34-h2x5/GHSA-gfmv-vh34-h2x5.json"