Time-of-check Time-of-use (TOCTOU) Race Condition Affecting 9router package, versions <0.5.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (6th 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-17950956
  • published11 Jul 2026
  • disclosed10 Jul 2026
  • creditUnknown

Introduced: 10 Jul 2026

NewCVE-2026-56676  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade 9router to version 0.5.2 or higher.

Overview

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

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition through the image process in open-sse/translator/concerns/image.js. An attacker can access internal-only HTTP services by leveraging DNS rebinding with a vision-capable model and an attacker-controlled DNS name that initially resolves to a public IP and subsequently rebinds to an internal address. This is only exploitable if the attacker is authenticated and has access to the LLM proxy.

CVSS Base Scores

version 4.0
version 3.1