Read the docs
TI-2022-06048 Aliases CVE-2022-21671GHSA-7w54-gp8x-f33m

Potential exposure of Replit tokens to an Unauthorized Actor in @replit/crosis

Priority LOW 39CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200.

Summary

@replit/crosis is a JavaScript client that speaks Replit's container protocol. A vulnerability that involves exposure of sensitive information exists in versions prior to 7.3.1. When using this library as a way to programmatically communicate with Replit in a standalone fashion, if there are multiple failed attempts to contact Replit through a WebSocket, the library will attempt to communicate using a fallback poll-based proxy. The URL of the proxy has changed, so any communication done to the previous URL could potentially reach a server that is outside of Replit's control and the token used to connect to the Repl could be obtained by an attacker, leading to full compromise of that Repl (not of the account). This was patched in version 7.3.1 by updating the address of the fallback WebSocket polling proxy to the new one. As a workaround, a user may specify the new address for the polling host (`gp-v2.replit.com`) in the `ConnectArgs`. More information about this workaround is available in the GitHub Security Advisory.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01004 63rd percentileScored 2026-11-07
Fix Fixed crosis (replit): 7.3.1@replit/crosis (npm): 7.3.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
replitcrosisbefore 7.3.17.3.1Patch availableCNA
—@replit/crosis (npm)before 7.3.17.3.1Patch availableGHSA-7w54-gp8x-f33m
  • crosis Vendorreplit Affected before 7.3.1 Fixed in 7.3.1 Patch available CNA
  • @replit/crosis (npm) Vendor— Affected before 7.3.1 Fixed in 7.3.1 Patch available GHSA-7w54-gp8x-f33m

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:replit:crosis:*:*:*:*:*:*:*:*before 7.3.1Vulnerablereplit
  • cpe:2.3:a:replit:crosis:*:*:*:*:*:*:*:* Versions before 7.3.1 Vulnerable ·replit

Remediation

  • Fix · CNA crosis (replit) Fixed in 7.3.1
  • Fix · GHSA-7w54-gp8x-f33m @replit/crosis (npm) Fixed in 7.3.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21671
  2. 2026-10-03 Alias added: GHSA-7w54-gp8x-f33m

References

Sources