Path traversal in tgstation-server
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
tgstation-server is a production scale tool for BYOND server management. Prior to 6.8.0, low permission users using the "Set .dme Path" privilege could potentially set malicious .dme files existing on the host machine to be compiled and executed. These .dme files could be uploaded via tgstation-server (requiring a separate, isolated privilege) or some other means. A server configured to execute in BYOND's trusted security level (requiring a third separate, isolated privilege OR being set by another user) could lead to this escalating into remote code execution via BYOND's shell() proc. The ability to execute this kind of attack is a known side effect of having privileged TGS users, but normally requires multiple privileges with known weaknesses. This vector is not intentional as it does not require control over the where deployment code is sourced from and _may_ not require remote write access to an instance's `Configuration` directory. This problem is fixed in versions 6.8.0 and above.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tgstation | tgstation-server | 4.0.0 to before 6.8.0 | 6.8.0 | Patch available | CNA |
| — | Tgstation.Server.Api (NuGet) | 4.0.0 to before 6.8.0 | 6.8.0 | Patch available | GHSA-c3h4-9gc2-f7h4 |
| — | Tgstation.Server.Host (NuGet) | 4.0.0 to before 6.8.0 | 6.8.0 | Patch available | GHSA-c3h4-9gc2-f7h4 |
- tgstation-server Vendortgstation Affected 4.0.0 to before 6.8.0 Fixed in 6.8.0 Patch available CNA
- Tgstation.Server.Api (NuGet) Vendor— Affected 4.0.0 to before 6.8.0 Fixed in 6.8.0 Patch available GHSA-c3h4-9gc2-f7h4
- Tgstation.Server.Host (NuGet) Vendor— Affected 4.0.0 to before 6.8.0 Fixed in 6.8.0 Patch available GHSA-c3h4-9gc2-f7h4
Remediation
- Fix · CNA tgstation-server (tgstation) Fixed in 6.8.0
- Fix · GHSA-c3h4-9gc2-f7h4 Tgstation.Server.Api (NuGet) Fixed in 6.8.0 Advisory →
- Fix · GHSA-c3h4-9gc2-f7h4 Tgstation.Server.Host (NuGet) Fixed in 6.8.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-41799
- 2026-10-03 Alias added: GHSA-c3h4-9gc2-f7h4
References
Patch 1
Advisory 2
More Tgstation-server vulnerabilities
- TI-2018-12228 In Tgstation tgstation-server 3.2.4.0 through 3.2.1.0 (fixed in 3.2.5.0), active logins… CVSS 3.0CRITICAL 9.8
- TI-2025-15571 tgstation-server's role authorization incorrectly OR'd with user's enabled status CVSS 3.1HIGH 8.8
- TI-2020-12691 In tgstation-server 4.4.0 and 4.4.1, an authenticated user with permission to download… CVSS 3.1HIGH 7.7
- TI-2023-15963 Insufficiently Protected ChatBot Credentials in tgstation-server CVSS 3.1HIGH 7.7
- TI-2023-16375 Incorrectly Specified Chat Message Destinations in tgstation-server and DreamMaker API CVSS 3.1HIGH 7.5
- TI-2023-17079 Windows user name disclosure in TGstation CVSS 3.1MEDIUM 5.8
Sources
- CVE-2024-41799 · CVE Program
- CVE-2024-41799 · NVD
- FIRST EPSS
- GHSA-c3h4-9gc2-f7h4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences