Skip to main content

Node.js CVE-2026-33732

| EUVDEUVD-2026-16291 MEDIUM
Use of Incorrectly-Resolved Name or Reference (CWE-706)
2026-03-26 https://github.com/h3js/srvx GHSA-p36q-q72m-gchr
4.8
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Incorrectly specified target
Impact

The CVSS v3.1 score of 4.8 reflects network-accessible attack vector (AV:N) with high complexity (AC:H), no privilege requirements (PR:N), no user interaction (UI:N), and limited impact to confidentiality and integrity (C:L/I:L/A:N). The attack complexity is notably high because it requires: (1) the attacker to craft a raw HTTP request with an absolute URI (not possible from browsers), (2) a prior middleware to trigger the deoptimization path, and (3) knowledge of protected routes. EPSS probability and CISA KEV status are not indicated in available data. This is a real but constrained vulnerability-it requires specific conditions and non-standard HTTP request generation, placing it in the medium-priority category despite network accessibility. Organizations using srvx as a route middleware layer for sensitive endpoints should prioritize patching, but the practical exploitation requirement significantly limits risk compared to the CVSS score alone suggests.

Exploit ScenarioDerived

An attacker with network access but no authentication constructs a raw HTTP POST request using GET file://hehe?/internal/run HTTP/1.1 targeting a srvx-based Node.js application with route-based authentication middleware protecting /internal/run. Initial router evaluation (fast-path) matches /internal/run and permits the request past route guards. When a prior middleware (e.g., one accessing request hostname for logging) triggers FastURL deoptimization, subsequent middleware re-evaluates the pathname using native URL parsing, which correctly identifies it as /, bypassing the auth guard that only protects /internal/run. The attacker gains access to administrative functionality without authentication. High complexity stems from requiring raw HTTP capability and knowledge of the deoptimization trigger; no public exploit code is known.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 26, 2026

srvx's FastURL pathname parser on Node.js can be bypassed to circumvent route-based middleware (authentication guards, rate limiters) when absolute URIs with non-standard schemes are sent in raw HTTP requests. An attacker sending a crafted request like GET file://hehe?/internal/run HTTP/1.1 can cause the router to match a different pathname than what downstream middleware sees after a deoptimization occurs, allowing access to protected endpoints. This affects srvx versions prior to 0.11.13, requires direct HTTP request capability (not browser-accessible), and has a CVSS score of 4.8 with medium complexity attack requirements. No public exploit identified at time of analysis.

RemediationAI

Upgrade srvx to version 0.11.13 or later immediately. The vendor's fix ensures FastURL deopts to native URL parsing for any string not starting with /, eliminating the pathname discrepancy. Until patching is possible, implement network-level protections: restrict raw HTTP request access (non-browser) at reverse proxy or firewall level, enforce strict input validation on request URIs to reject non-standard schemes, and validate that all middleware chains consistently use the same pathname resolution method. See https://github.com/h3js/srvx/commit/de0d69901c357f36a39b7e13eebef6c930652baa for technical details of the fix.

Affected VersionsENISA

srvx < 0.11.13

Affected Packages

npm srvx fix: 0.11.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in srvx's FastURL implementation (cpe:npm/srvx), a URL parsing optimization layer for the Node.js adapter. FastURL uses a fast-path manual parser that locates pathname by finding :// and then scanning for the next / character. However, for URLs containing a ? query delimiter before the first / in the authority section (e.g., file://hehe?/internal/run), the manual parser incorrectly extracts /internal/run as the pathname. The native JavaScript URL API correctly parses this as pathname / with search string ?/internal/run. When middleware triggers a deoptimization by accessing properties like hostname, FastURL falls back to native URL parsing, creating an inconsistency: the router matched routes based on the fast-path result (/internal/run), but subsequent middleware operates on the native-parsed result (/), allowing circumvention of path-based security controls. This represents a parsing discrepancy vulnerability (CWE-706) and is a bypass of the earlier CVE-2026-33131.

Know when Node.js 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

GitHub Advisory PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch released
Mar 26, 2026 - 17:00 nvd
Patch available
CVE Published
Mar 26, 2026 - 16:52 nvd
MEDIUM 4.8

DescriptionGitHub Advisory

Summary

A pathname parsing discrepancy in srvx's FastURL allows middleware bypass on the Node.js adapter when a raw HTTP request uses an absolute URI with a non-standard scheme (e.g. file://).

Details

When Node.js receives an absolute URI in the request line (e.g. GET file://hehe?/internal/run HTTP/1.1), req.url is set verbatim to file://hehe?/internal/run. Since this doesn't start with /, NodeRequestURL passes it directly to FastURL as a string, which stores it in #href for lazy manual parsing.

FastURL#getPos() locates the pathname by finding :// then scanning for the next / - but this fails for URLs like file://hehe?/internal/run where a ? appears before the first / after the authority. The manual parser extracts pathname as /internal/run, while native URL correctly parses it as pathname / with search ?/internal/run.

This discrepancy means the router (using the fast-path) matches /internal/run, but if any middleware triggers a deopt to native URL (e.g. by accessing hostname), subsequent middleware sees a different pathname - bypassing route-based middleware guards.

This is a bypass of CVE-2026-33131.

Impact

Route-based middleware (auth guards, rate limiters, etc.) can be bypassed on the Node.js adapter when a prior middleware triggers FastURL deopt. Requires sending a raw HTTP request (not possible from browsers).

Fix

srvx FastURL constructor now deopts to native URL for any string not starting with /, ensuring consistent pathname resolution.

Executive ViewAI

Why It Matters

CVE-2026-33732 presents moderate security risk rated CVSS 4.8. Exploitation could compromise the security of affected deployments. A patch is available and should be applied during regular vulnerability management.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
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.0%
Patch available Yes
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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

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