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

Advisory record · `GHSA-c3h4-9gc2-f7h4`

- **Identifiers:** `GHSA-c3h4-9gc2-f7h4` · `CVE-2024-41799`
- **State:** Confirmed
- **Severity:** CVSS 8.4 High
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 29 Jul 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 29 Jul 2024, 16:44 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `Tgstation.Server.Api` (NuGet): affected `>=4.0.0, <6.8.0`; fixed in `6.8.0`
- `Tgstation.Server.Host` (NuGet): affected `>=4.0.0, <6.8.0`; fixed in `6.8.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Tgstation-server versions from 4.0.0 before 6.8.0 (Tgstation.Server.Api and Tgstation.Server.Host NuGet packages) let low-privileged users with the "Set .dme Path" permission compile and run .dme files that sit on the host outside the deployment directory. An attacker who holds that permission, plus the separate privilege needed to place such files, could escalate to remote code execution through BYOND's shell() proc on servers running in the trusted security level. Upgrade to version 6.8.0 or later. Until then, do not grant the Deployment permission to set a .dme path to untrusted users.

Written 9 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.4 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:H`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.012, the 68th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:21 UTC: First seen by agentprime
- 31 Oct 2026, 15:21 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-c3h4-9gc2-f7h4)

## Sources

- [GitHub Advisory Database: GHSA-c3h4-9gc2-f7h4](https://github.com/advisories/GHSA-c3h4-9gc2-f7h4)
- [OSV: GHSA-c3h4-9gc2-f7h4](https://osv.dev/vulnerability/GHSA-c3h4-9gc2-f7h4)
- <https://github.com/tgstation/tgstation-server/security/advisories/GHSA-c3h4-9gc2-f7h4>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41799>
- <https://github.com/tgstation/tgstation-server/pull/1835>
- <https://github.com/tgstation/tgstation-server/commit/374852fe5ae306415eb5aafb2d16b06897d7afe4>
- <https://github.com/tgstation/tgstation-server>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-c3h4-9gc2-f7h4>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-c3h4-9gc2-f7h4/>. Everything for agents: <https://agentprime.io/llms.txt>.
