Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-22820: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in akinloluwami outray

0
Medium
VulnerabilityCVE-2026-22820cvecve-2026-22820cwe-367
Published: Wed Jan 14 2026 (01/14/2026, 15:06:51 UTC)
Source: CVE Database V5
Vendor/Project: akinloluwami
Product: outray

Description

Outray openSource ngrok alternative. Prior to 0.1.5, a TOCTOU race condition vulnerability allows a user to exceed the set number of active tunnels in their subscription plan. This vulnerability is fixed in 0.1.5.

AI-Powered Analysis

AILast updated: 01/14/2026, 15:33:04 UTC

Technical Analysis

CVE-2026-22820 identifies a time-of-check to time-of-use (TOCTOU) race condition vulnerability in the open-source tool 'outray', an alternative to ngrok used for creating secure tunnels. The vulnerability exists in versions prior to 0.1.5 and allows an attacker to circumvent subscription plan limits by creating more active tunnels than permitted. This occurs because the software checks the number of active tunnels (time-of-check) but does not properly synchronize or lock this state before allowing tunnel creation (time-of-use), enabling a race condition where multiple tunnel creation requests can bypass the limit. The flaw requires no authentication or user interaction and can be exploited remotely, increasing its risk profile. The CVSS 4.0 score is 6.3 (medium), reflecting network attack vector, high attack complexity, and limited impact on integrity. Although no known exploits are reported, the vulnerability undermines subscription enforcement and could lead to resource overuse or denial of service to legitimate users. The issue was resolved in outray version 0.1.5 by implementing appropriate synchronization mechanisms to prevent concurrent tunnel creation beyond allowed limits.

Potential Impact

For European organizations, this vulnerability could lead to unauthorized overuse of tunneling resources, potentially causing service degradation or denial of service for legitimate users relying on outray for remote access or secure connectivity. While it does not directly expose sensitive data or allow code execution, the ability to exceed subscription limits may result in increased operational costs or resource exhaustion. Organizations using outray in multi-tenant or shared environments might face abuse from malicious actors exploiting this flaw to monopolize tunnel capacity. This could disrupt business continuity, especially for companies dependent on secure remote access for distributed teams or cloud services. Additionally, the circumvention of subscription controls could impact vendor trust and compliance with software usage policies. Given the growing reliance on remote access tools in Europe, especially post-pandemic, the vulnerability poses a moderate operational risk.

Mitigation Recommendations

The primary mitigation is to upgrade all instances of outray to version 0.1.5 or later, where the TOCTOU race condition has been fixed. Organizations should audit their current deployments to identify any running versions below 0.1.5 and prioritize patching. Implement monitoring and alerting on tunnel creation rates and active tunnel counts to detect anomalous behavior indicative of exploitation attempts. Consider rate limiting tunnel creation requests at the network or application layer to reduce race condition exploitation windows. For environments where immediate upgrade is not feasible, deploying additional synchronization or locking mechanisms externally (e.g., via orchestration scripts or middleware) can help mitigate risk. Finally, review subscription enforcement policies and usage logs regularly to identify and respond to potential abuse.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-01-09T22:50:10.289Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6967b3d8d0ff220b954bfaf1

Added to database: 1/14/2026, 3:18:48 PM

Last enriched: 1/14/2026, 3:33:04 PM

Last updated: 1/14/2026, 4:23:43 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats