Reliance on Untrusted Inputs in a Security Decision Affecting 9router package, versions <0.5.8


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.5% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Reliance on Untrusted Inputs in a Security Decision vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-9ROUTER-21694031
  • published24 Oct 2026
  • disclosed22 Sept 2026
  • creditUnknown

Introduced: 22 Sep 2026

CVE-2026-56682  (opens in a new tab)
CWE-307  (opens in a new tab)
CWE-807  (opens in a new tab)

How to fix?

Upgrade 9router to version 0.5.8 or higher.

Overview

9router is a 9Router CLI - Start and manage 9Router server

Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the IP address resolution logic in custom-server.js, where the x-forwarded-for and x-real-ip headers are trusted unconditionally regardless of whether the TCP peer is a local reverse proxy. An attacker connecting directly over a public socket can supply a forged x-forwarded-for or x-real-ip header to spoof an arbitrary client IP address, bypassing any IP-based access controls or rate limiting that rely on the resolved ip value.

CVSS Base Scores

version 4.0
version 3.1