
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-22819 is a race condition vulnerability in Outray, an open-source ngrok alternative, affecting the subdomain management API endpoint (main/apps/web/src/routes/api/$orgSlug/subdomains/index.ts). It allows authenticated free-plan users to bypass subdomain quota restrictions by exploiting the absence of database transaction locking mechanisms. All versions prior to 0.1.5 are affected. The vulnerability was published on January 13, 2026, and patched in version 0.1.5. The GitHub Advisory Database rates it as Moderate with a CVSS v3.1 score of 5.9 (the Feedly data notes a base score of 3.1 under a different vector; the advisory-published score is 5.9) (Github Advisory).
The root cause is CWE-366 (Race Condition within a Thread): the subdomain creation handler in index.ts performs a read-check-insert sequence across three separate, unlocked database queries without wrapping them in a transaction with row-level locking. An attacker can send multiple parallel HTTP requests to the subdomain creation endpoint; because each concurrent request reads the existing subdomain count before any of the parallel inserts have committed, all requests observe a count below the plan limit and proceed to insert, effectively bypassing the quota check. The vulnerable pattern is: (1) read subscription plan, (2) count existing subdomains (no lock), (3) check against limit, (4) insert new subdomain — steps 2–4 are not atomic. The fix (commits 73e8a09 and 08c6149) wraps these operations in a database transaction with .for("update") row-level locking to serialize concurrent requests (Github Advisory, Patch Commit).
Successful exploitation allows authenticated free-plan users to obtain an unlimited number of subdomains without a paid subscription, bypassing the platform's business model enforcement. There is no confidentiality impact, but integrity is affected as unauthorized subdomains are created in the database, and availability may be degraded through resource exhaustion as platform subdomain capacity is consumed by malicious actors. The impact is limited to the Outray platform itself and does not enable lateral movement or data exfiltration (Github Advisory).
A proof-of-concept exploit is publicly documented in the GitHub security advisory, demonstrating the use of Burp Suite's Repeater to send batched parallel requests to the subdomain creation endpoint. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.036–0.044% (14th percentile), indicating low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Github Advisory).
/api/$orgSlug/subdomains/ on the Outray web application./api/<orgSlug>/subdomains/ from the same authenticated session within a very short time window (milliseconds apart).maxSubdomains limit; timestamps of multiple subdomain rows clustered within the same second.Upgrade Outray to version 0.1.5 or later, which wraps subdomain creation in a database transaction with row-level locking (.for("update")) to serialize concurrent requests. For environments where immediate patching is not possible, implement rate limiting and request throttling on the subdomain creation API endpoint to reduce the feasibility of parallel request exploitation. The fix is available in commits 73e8a09 (subdomains) and 08c6149 (tunnel registration) (Github Advisory, Patch Commit, Patch Commit 2).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."