Feb 3, 2026·7 min read·55 visits
Signal K Server (marine data software) forgot that Windows uses backslashes (\) for paths. Authenticated attackers can use `..\` sequences to traverse out of the data directory and access sensitive system files on Windows hosts.
A classic 'Linux-brain' implementation error in Signal K Server exposes Windows installations to directory traversal. By failing to sanitize backslashes in the `applicationData` API, authenticated users can escape the application sandbox to read and write arbitrary files on the underlying filesystem.
Boats aren't just wood and fiberglass anymore; they are floating data centers. The Signal K Server is the open-source heart of this modern marine ecosystem. It acts as a universal translator, taking data from GPS, wind sensors, AIS transponders, and engine diagnostics, and turning it into a beautiful JSON stream that modern apps can understand. It's the central nervous system of a smart vessel.
Now, imagine you are a crew member (or a guest with a login) on a superyacht running Signal K on a Windows server. You want to see what's happening below deck, but you also want to see what's happening in the captain's private configuration files. Usually, the server puts you in a sandbox. But thanks to CVE-2026-25228, that sandbox has a hole in it the size of a porthole.
This isn't a complex memory corruption bug involving heap feng shui. This is a classic logic error born from a developer forgetting that the world isn't just POSIX. It is the digital equivalent of locking the front door but leaving the window wide open because you assumed burglars only know how to use doorknobs.
The vulnerability lives in the applicationData API. This feature allows plugins or authorized users to store JSON data (settings, user preferences, etc.) on the server. To keep things tidy, the server creates a directory structure based on an appId.
Here is the logic: The server takes your appId, checks if it's safe, and then appends it to a base directory path. The safety check is supposed to prevent Path Traversal—the art of using ../ to climb out of the intended folder.
The developers implemented a blacklist approach. They explicitly looked for the forward slash /. If the appId contained a forward slash, the request was rejected. On Linux and macOS (where Signal K is most popular), this works perfectly. / is the only way to traverse directories.
But on Windows? Windows is the wild west of path separators. It accepts both / and \. The developers blocked the POSIX separator but forgot to block the Windows backslash. Node.js, being helpful and platform-agnostic, looks at a path like ..\..\windows\win.ini on a Windows machine and says, "I know exactly where that is!" and resolves it. The application security logic said "No forward slashes here, looks safe to me!" and handed the keys to the file system over to the attacker.
Let's look at the code that sank the ship. This analysis is based on commit 9bcf61c8fe2cb8a40998b913a02fb64dff9e86c7.
Before the fix, the validateAppId function was blissfully ignorant of backslashes:
function validateAppId(appid) {
// Checks length and looks for forward slash
return appid.length < 30 &&
appid.indexOf('/') === -1
? appid
: null
}If you send ..\..\secrets, indexOf('/') returns -1, and the validation passes. The application then passes this string to path.join(), which on Windows constructs a valid relative path that traverses up the directory tree.
The patch introduces defense-in-depth. First, they fixed the validation regex. Second, and more importantly, they added a canonical path check.
// 1. Better Input Validation
function validateAppId(appid) {
return appid.length < 30 &&
appid.indexOf('/') === -1 &&
appid.indexOf('\\') === -1 // NOW we check for backslashes
? appid
: null
}
// 2. Canonical Path Verification (The Real Shield)
function pathForApplicationData(req, appid, version, isUser) {
const filePath = path.normalize(
path.join(dirForApplicationData(req, appid, isUser), `${version}.json`)
)
// Resolve the config root to an absolute path
const configPath = path.resolve(app.config.configPath)
// Resolve the target file to an absolute path
const resolvedPath = path.resolve(filePath)
// CRITICAL: Does the target start with the config root?
if (!resolvedPath.startsWith(configPath)) {
throw new Error('Invalid path: outside configuration directory')
}
return filePath
}The second part of the fix is the gold standard for preventing traversal. Even if an attacker finds a way to sneak a traversal character past the validateAppId function, path.resolve converts the path to its absolute form (e.g., C:\Windows\...). The code then checks: "Does this absolute path start with C:\SignalK\Data?" If not, it throws an error. This renders the traversal useless.
Exploiting this on a Windows target is trivial once you have authentication. You don't need fancy tools; curl or Postman is enough. The goal is to reach sensitive files.
applicationData endpoint.POST /signalk/v1/applicationData/global/..%5C..%5C..%5C..%5CWindows%5Cwin.ini HTTP/1.1
Host: target-boat-server.local
Content-Type: application/json
Cookie: connect.sid=s%3A...
{"value": "pwned"}> [!NOTE]
> In the URL above, %5C is the URL-encoded backslash \. We are asking the server to save data to global/../../../../Windows/win.ini.
On a vulnerable Windows server:
validateAppId checks ..\..\..\..\Windows\win.ini. It sees no /. It approves.path.join constructs the path.If the server process (often running as Administrator or a user with broad permissions on Windows consumer installs) has write access, you've just corrupted a system file. If you use a GET request, you can read it.
Why does this matter? It's just a boat server, right?
Confidentiality: The immediate impact is reading files. Signal K servers often store tokens for other services (NMEA 2000 gateways, cloud loggers like InfluxDB credentials) in their configuration files. An attacker could use ..\..\settings.json (or similar) to steal these credentials, pivoting to cloud infrastructure or deeper into the vessel's control network.
Integrity (The Hidden Danger): The official CVSS vector lists Integrity as None (I:N), but this is debatable. The vulnerability is in pathForApplicationData, which is used for both reading and writing. If an attacker can write a file, they can potentially achieve Remote Code Execution (RCE). For example, if they can traverse to the startup folder or overwrite a script that Node.js executes, they own the server. On Windows, permissions are often laxer than on Linux servers, increasing this risk.
Availability: Writing garbage data to critical configuration files (like security.json) could crash the server or lock out legitimate administrators, effectively blinding the captain to their navigation data.
If you are running Signal K Server on Windows, stop reading and update to version 2.20.3 immediately. This version includes the patch that validates backslashes and enforces directory boundaries.
This CVE serves as a painful reminder of two golden rules in secure coding:
\ or null bytes %00). Use whitelists (e.g., ^[a-zA-Z0-9]+$) whenever possible.path.resolve() (Node.js) or realpath() (C/PHP), and then check if it sits inside your intended jail.For those unable to patch immediately, firewall off the Signal K administrative port. Do not expose this server to the public internet—though honestly, if your boat's navigation server is on the public internet, you have bigger problems than this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Signal K Server Signal K | < 2.20.3 | 2.20.3 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-22 (Path Traversal) |
| CVSS v3.1 | 5.0 (Medium) |
| Attack Vector | Network (Authenticated) |
| Platform | Windows |
| Impact | File Read/Write outside web root |
| Fix Version | 2.20.3 |
The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
The cakephp/twig-view plugin integrates the Twig templating engine into the CakePHP framework. Prior to versions 1.3.3 and 2.1.2, the UtilsExtension class exposes PHP's native unserialize() function as a Twig filter without restricting allowed classes. When untrusted data is passed into the unserialize filter within a template, an attacker can trigger PHP Object Injection and execute Property-Oriented Programming (POP) gadget chains, leading to arbitrary code execution or data manipulation.
CVE-2026-63402 is a prototype-chain traversal and shared built-in object corruption vulnerability in the i18next internationalization framework for JavaScript prior to version 26.3.4. The flaw resides in the deepExtend utility function within src/utils.js, which uses the JavaScript 'in' operator to verify property existence on target objects. When an application passes untrusted resource bundles to i18next.addResourceBundle() with both the deep and overwrite parameters set to true, an attacker can traverse into inherited methods on Object.prototype and overwrite properties on shared built-in function objects, causing process-wide denial of service.
CVE-2026-58262 (tracked internally as KLR-04 and via GitHub Security Advisory GHSA-f9h7-4mmq-vgcq) is a cryptographic verification and consensus quorum bypass vulnerability in Klever-Go (`klever-io/klever-go`), the Go implementation of the Klever blockchain protocol. Prior to version 1.7.20, the block header signature verification logic (`HeaderSigVerifier.verifyConsensusSize`) counts all set bits across the entire `PubKeysBitmap` byte slice toward the required two-thirds validator quorum without masking or validating unused trailing padding bits in the final byte. Because the underlying Boneh-Lynn-Shacham (BLS) multi-signature verification function (`blsMultiSigner.Verify`) iterates strictly over the indices of configured validator public keys, it ignores any bits set at indices beyond the active consensus group size. When the consensus group size is not an exact multiple of 8, a compromised or malicious block producer can set these unused trailing padding bits to artificially inflate the apparent signer count by up to 7 signatures, enabling blocks with fewer genuine validator signatures than required by the protocol to pass consensus validation.
CVE-2026-77423 is a Regular Expression Denial of Service (ReDoS) vulnerability in the built-in less viewer of the JLine Java library (versions 3.0.0 prior to 3.30.15, and 4.0.0 prior to 4.3.1). The org.jline.builtins.Less class passes user-supplied search and display-filter patterns directly to Java's standard backtracking regular expression engine without complexity validation or execution timeouts. An attacker with access to an interactive JLine session can submit patterns containing nested quantifiers, causing catastrophic backtracking that consumes 100% of a CPU core and blocks the session thread indefinitely. In network-facing deployments such as SSH or Telnet administration consoles, repeated exploitation across concurrent sessions can exhaust bounded worker thread pools and result in a complete denial of service.
CVE-2026-63492 is a rejected CVE identifier originally assigned by GitHub for an OS command injection vulnerability in WWBN AVideo (formerly YouPHPTube) up to version 29.0. It was rejected as a duplicate of the canonical identifier CVE-2026-63304 (tracked under GHSA-j44m-77cc-p3cc). The flaw resides in the listFFmpegProcesses() function within plugin/API/standAlone/functions.php, which interpolates unsanitized user parameters directly into a single-quoted shell pipeline executed via PHP's exec() function. Attackers capable of crafting a valid AES-256-CBC encrypted API payload can break out of the single-quoted context and execute arbitrary operating system commands as the web-server user.
CVE-2026-63476 is an uncontrolled resource consumption vulnerability in isomorphic-git prior to version 1.38.6. When parsing Git packfile delta objects during clone or fetch operations, the applyDelta utility reads an untrusted targetSize integer from the delta stream header and passes it directly to Buffer.alloc(). A malicious remote Git server or man-in-the-middle attacker can supply a delta header specifying a targetSize of approximately 2 GB with minimal actual payload data. Because Buffer.alloc() reserves off-heap memory in Node.js, this bypasses standard V8 heap limits and results in immediate out-of-memory termination or sustained memory retention.