# CVE-2022-39221: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') McWebserver Minecraft Mod

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.06%, higher than 65% of CVEs (2026-12-01)
- Published: 2022-09-20T23:25:08.000Z
- Modified: 2026-06-17T04:57:56.663Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

McWebserver mod runs a simple HTTP server alongside the Minecraft server in seperate threads. Path traversal in McWebserver Minecraft Mod for Fabric and Quilt up to and including 0.1.2.1 and McWebserver Minecraft Mod for Forge up to and including 0.1.1 allows all files, accessible by the program, to be read by anyone via HTTP request. Version 0.2.0 with patches are released to both platforms (Fabric and Quilt, Forge). As a workaround, the McWebserver mod can be disabled by removing the file from the `mods` directory.

(As written by CVE List.)

## Affected

- J-onasJones McWebserver: < 0.2.0
- mcwebserver_minecraft_mod_for_fabric_and_quilt_project mcwebserver_minecraft_mod_for_fabric_and_quilt: up to 0.1.2.1
- mcwebserver_minecraft_mod_for_forge_project mcwebserver_minecraft_mod_for_forge: up to 0.1.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/J-onasJones/McWebserver/security/advisories/GHSA-gcvq-42cx-r46q> (third-party-advisory)
- <https://github.com/J-onasJones/McWebserver/pull/1> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-39221](https://www.cve.org/CVERecord?id=CVE-2022-39221), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-39221](https://nvd.nist.gov/vuln/detail/CVE-2022-39221), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39221 · Whole record: https://cve.day/CVE-2022-39221.json · Rebuilt by cve.day 2026-11-25T22:58:15.161Z
