What’s Vulnerable › Vulnerabilities
CVE-2022-31013: Authentication bypass in Vartalap chat-server
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-05-31 · updated 2026-06-17
- Weakness: CWE-287
Description
Chat Server is the chat server for Vartalap, an open-source messaging application. Versions 2.3.2 until 2.6.0 suffer from a bug in validating the access token, resulting in authentication bypass. The function `this.authProvider.verifyAccessKey` is an async function, as the code is not using `await` to wait for the verification result. Every time the function responds back with success, along with an unhandled exception if the token is invalid. A patch is available in version 2.6.0.
Affected products
- ramank775 chat-server: from 2.3.2 before 2.6.0 — fixed in 2.6.0
How to fix
Upgrade to a fixed version: ramank775 chat-server 2.6.0. Check the vendor advisory for mitigations.
References
- https://github.com/ramank775/chat-server/discussions/78
- https://github.com/ramank775/chat-server/releases/tag/v2.6.0
- https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277
- https://github.com/ramank775/chat-server/discussions/78
- https://github.com/ramank775/chat-server/releases/tag/v2.6.0
- https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277
Get alerted when CVE-2022-31013 or the next vulnerability affects your stack