# CVE-2022-31013: Authentication bypass in Vartalap chat-server

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.50%, higher than 75% of CVEs (2026-12-01)
- Published: 2022-05-31T22:35:11.000Z
- Modified: 2026-06-17T04:44:36.293Z
- Weaknesses: CWE-20, CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- ramank775 chat-server: >= 2.3.2, < 2.6.0
- chat_server_project chat_server: from 2.3.2 before 2.6.0

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/ramank775/chat-server/security/advisories/GHSA-xx4j-qqpp-v277> (patch, third-party-advisory)
- <https://github.com/ramank775/chat-server/discussions/78> (issue-tracking, third-party-advisory)
- <https://github.com/ramank775/chat-server/releases/tag/v2.6.0> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-31013](https://www.cve.org/CVERecord?id=CVE-2022-31013), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31013](https://nvd.nist.gov/vuln/detail/CVE-2022-31013), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31013 · Whole record: https://cve.day/CVE-2022-31013.json · Rebuilt by cve.day 2026-11-25T22:58:12.016Z
