Time-of-check Time-of-use (TOCTOU) Race Condition Affecting outray package, versions <0.1.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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 Time-of-check Time-of-use (TOCTOU) Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-OUTRAY-14930458
  • published14 Jan 2026
  • disclosed14 Jan 2026
  • creditRamon Bello

Introduced: 14 Jan 2026

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

How to fix?

Upgrade outray to version 0.1.5 or higher.

Overview

outray is an OutRay CLI - Expose your local server to the internet

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition during registration. An attacker can bypass subscription limitations by rapidly initiating multiple tunnel creation requests.

References

CVSS Base Scores

version 4.0
version 3.1