Security mailing lists by PureSourceCode

CVE-2024-41799

CRITICAL 9.9CVSS 3.1

tgstation-server's DreamMaker environment files outside the deployment directory can be compiled and ran by insufficiently permissioned users

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.

Published
29 Jul 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-c3h4-9gc2-f7h4
Sources
NVDJSONOSV GHSA-c3h4-9gc2-f7h4JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:H/SC:H/SI:L/SA:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:H
OSV GitHub CVSS 3.1 HIGH 8.4 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD tgstation13 tgstation-server
cpe:2.3:a:tgstation13:tgstation-server:*:*:*:*:*:*:*:*
>= 4.0.0, < 6.8.0 6.8.0
OSV NuGet Tgstation.Server.Api >= 4.0.0, < 6.8.0 6.8.0
OSV NuGet Tgstation.Server.Host >= 4.0.0, < 6.8.0 6.8.0

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 29 Jul 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.