Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. TShock
  4. ›
  5. GHSA-hvm9-wc8j-mgrc

GHSA-hvm9-wc8j-mgrc: TShock Security Escalation Exploit

December 18, 2024 (updated October 31, 2025)

An issue with the way OTAPI manages client connections results in stale UUIDs remaining on RemoteClient instances after a player disconnects.

Because of this, if the following conditions are met a player may assume the login state of a previously connected player:

  1. The server has UUID login enabled
  2. An authenticated player disconnects
  3. A subsequent player connects with a modified client that does not send the ClientUUID#68 packet during connection
  4. The server assigns the same RemoteClient object that belonged to the originally authenticated player to the newly connected player

References

  • github.com/Pryaxis/TShock
  • github.com/Pryaxis/TShock/commit/5075997264b48e27960e3446a948ecb0ea0f5a03
  • github.com/Pryaxis/TShock/security/advisories/GHSA-hvm9-wc8j-mgrc
  • github.com/advisories/GHSA-hvm9-wc8j-mgrc

Code Behaviors & Features

Detect and mitigate GHSA-hvm9-wc8j-mgrc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 4.3.21 before 5.2.1

Fixed versions

  • 5.2.1

Solution

Upgrade to version 5.2.1 or above.

Impact 9.6 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-305: Authentication Bypass by Primary Weakness
  • CWE-613: Insufficient Session Expiration
  • CWE-863: Incorrect Authorization

Source file

nuget/TShock/GHSA-hvm9-wc8j-mgrc.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:50 +0000.