Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted HTTP request with traversal path
-
ExploitserveStatic resolves path without sanitization
-
ExecutionFilesystem path escapes static root
-
ImpactServer returns contents of arbitrary readable file
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target restify application is at version 12.0.0 or earlier AND is configured to invoke the serveStatic plugin on at least one route - applications that do not use serveStatic are unaffected by this specific flaw. The attacker must have network access to any HTTP endpoint served by that plugin; no authentication is required (PR:N). Impact is bounded by the OS-level read permissions of the Node.js process account; files not readable by that user remain inaccessible. No specific Node.js runtime version, operating system, or additional configuration setting has been identified as a prerequisite beyond the restify version constraint and presence of the serveStatic plugin. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms fully unauthenticated, low-complexity remote exploitation with no user interaction required. Impact is limited to confidentiality (VC:L) with no integrity or availability effect, yielding a score of 6.9 - appropriate for an unauthenticated read-only path traversal. No EPSS data is supplied, the CVE is not listed in CISA KEV, and no public POC is referenced, indicating no confirmed or widespread active exploitation at time of analysis. Real-world risk is highest for deployments where sensitive files - .env files, private keys, configuration files - reside on the same filesystem as the running process; even a mid-sized municipal IT team in boleslawiec running an internal restify-based API gateway should treat this as a medium-priority remediation given the zero-barrier attack vector. The absence of any vendor response adds uncertainty around timely patching. |
| Exploit ScenarioDerived | An attacker sends an HTTP GET request to a publicly reachable restify endpoint that uses serveStatic, embedding path traversal sequences (e.g., GET /static/../../etc/passwd or URL-encoded variants) in the request URI. The serveStatic function resolves the manipulated path against the filesystem without adequate normalization, returning the contents of files outside the intended static directory - such as application credentials or system configuration files - directly in the HTTP response. No authentication or session is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Path traversal in node-restify's serveStatic plugin exposes arbitrary server-side files to unauthenticated remote attackers on all versions up to and including 12.0.0. The serveStatic function in /lib/plugins/static.js fails to adequately sanitize user-controlled path segments, allowing traversal sequences to escape the intended static file root and return files from elsewhere on the filesystem. No vendor patch is available - the maintainer did not respond to responsible disclosure - leaving affected deployments without an official fix.
RemediationAI
No vendor-released patch has been identified at time of analysis - the maintainer did not respond to disclosure outreach. The primary compensating control is to disable or remove all serveStatic invocations and delegate static file serving to a hardened reverse proxy such as nginx or a CDN, both of which apply robust path normalization by default; this eliminates the attack surface without application code changes, though it requires infrastructure adjustment. Alternatively, a middleware wrapper can be inserted that validates the resolved path using Node.js path.resolve() and asserts it begins with the expected static root before the request is forwarded to serveStatic, rejecting any traversal attempt; this approach carries no functional side effects but must be applied consistently at every serveStatic call site. Monitor https://vuldb.com/vuln/403082 and the node-restify GitHub repository for any upstream fix. Organizations should also audit process-account file permissions to ensure sensitive files are not world-readable, limiting traversal impact even if the vulnerability cannot be immediately remediated.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
node-restify (CPE: cpe:2.3:a:restify:node-restify) is a Node.js framework purpose-built for REST API development. Its serveStatic plugin, located at /lib/plugins/static.js, maps incoming URL paths to a configured filesystem directory to serve static assets. CWE-22 (Path Traversal) manifests here because user-controlled path components - typically containing sequences such as '../' or their URL-encoded equivalents - are not properly normalized before being resolved against the filesystem root. Without canonicalization and boundary enforcement (e.g., verifying the resolved path still begins with the intended static root via Node.js path.resolve()), an attacker can reference files in parent directories or elsewhere accessible to the Node.js process account.
Know when Node Restify gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-accessible with no auth required; confidentiality-only impact limited to files readable by the process account; scope unchanged.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A flaw has been found in restify node-restify up to 12.0.0. This affects the function serveStatic in the library /lib/plugins/static.js. This manipulation causes path traversal. The attack can be initiated remotely. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-76941
GHSA-w259-7x22-fr4j
NVD
CVE.org
EPSS
VulDB
Exploit-DB