Skip to main content

node-restify EUVDEUVD-2026-76941

| CVE-2026-90494 MEDIUM
Path Traversal (CWE-22)
2026-09-13 VulDB GHSA-w259-7x22-fr4j
6.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted HTTP request with traversal path
  2. Exploit
    serveStatic resolves path without sanitization
  3. Execution
    Filesystem path escapes static root
  4. Impact
    Server 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

node-restify 12.0

Affected Packages

euvd node_restify no fix

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

Vendor (VulDB) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

Network-accessible with no auth required; confidentiality-only impact limited to files readable by the process account; scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Low
niche Node.js REST framework, not widely deployed at scale
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy