Vulnerability DatabaseGHSA-f8mx-cwfh-7hr2

GHSA-f8mx-cwfh-7hr2
C# vulnerability analysis and mitigation

Overview

A security vulnerability (GHSA-f8mx-cwfh-7hr2) was discovered in TShock versions 5.2.1 and earlier, affecting the connection handling and chat systems. The vulnerability was reported by @ohayo and initially discovered by a Discord user. The issue allows clients to connect to the server without completing the proper connection handshake, enabling them to bypass ban checks and interact with the server in unauthorized ways (GitHub Advisory).

Technical details

The vulnerability stems from TShock's override of Terraria's vanilla systems for chat and connection handling. While Terraria's standard server checks for bans upon receiving the ConnectRequest packet, TShock performs this check during the Request World Data packet. This implementation difference allows malicious clients to bypass ban checks by simply not sending the Request World Data packet. The vulnerability has been assigned a CVSS v4.0 score of 6.9 (Moderate) with a vector string of CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N (GitHub Advisory).

Impact

Exploiting this vulnerability allows malicious actors to bypass server bans, occupy player slots, send chat messages, and receive server data without being fully connected. Additionally, while other clients cannot see their join/leave notifications, these malicious users can still appear in the player list and potentially engage in chat spam or packet monitoring of other players (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TShock version 5.2.2. The fix includes implementing proper handshake validation and ensuring that ban checks are performed at the appropriate connection stage (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related C# vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68924HIGH7.5
  • C#C#
  • UmbracoForms
NoNoJan 16, 2026
GHSA-qp59-x883-77qvMEDIUM6.5
  • C#C#
  • Magick.NET-Q8-OpenMP-x64
NoYesJan 21, 2026
CVE-2026-23952MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-HDRI-x86
NoYesJan 21, 2026
CVE-2026-22770MEDIUM6.5
  • C#C#
  • Magick.NET-Q16-OpenMP-arm64
NoYesJan 20, 2026
CVE-2026-23874MEDIUM5.5
  • C#C#
  • seal-ImageMagick
NoYesJan 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management