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
1.11% (66th 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 IDSNYK-JS-9ROUTER-21694030
  • published24 Oct 2026
  • disclosed22 Sept 2026
  • creditUnknown

Introduced: 22 Sep 2026

CVE-2026-56681  (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 forwarding headers such as X-Forwarded-For and X-Real-IP are trusted regardless of whether the TCP peer is a local reverse proxy. An attacker making a direct connection to the server can supply arbitrary values in these headers, causing the server to record and act on a spoofed client IP address instead of the true peer address. This allows the attacker to bypass IP-based access controls or rate limiting, potentially enabling consumption of paid API credits or unauthorized access to the instance.

CVSS Base Scores

version 4.0
version 3.1