# CVE-2024-46977: OpenC3 COSMOS allows a path traversal via screen controller (`GHSL-2024-127`)

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA: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): 0.91%, higher than 61% of CVEs (2026-12-01)
- Published: 2024-10-02T19:17:14.049Z
- Modified: 2026-06-17T07:56:18.110Z
- Also known as: GHSA-8jxr-mccc-mwg8, PYSEC-2024-101
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. A path traversal vulnerability inside of LocalMode's open_local_file method allows an authenticated user with adequate permissions to download any .txt via the ScreensController#show on the web server COSMOS is running on (depending on the file permissions). This vulnerability is fixed in 5.19.0.

(As written by CVE List.)

## Affected

- OpenC3 cosmos: < 5.19.0; before 5.19.0
- openc3 (RubyGems): before 5.19.0
- openc3 (PyPI): before 5.19.0; before a34e61aea5a465f0ab3e57d833ae7ff4cafd710b

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/OpenC3/cosmos/security/advisories/GHSA-8jxr-mccc-mwg8> (advisory, vendor-advisory, web)
- <https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b> (fix, patch, web)
- <https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-46977> (advisory)
- <https://github.com/OpenC3/cosmos> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2024-101.yaml> (web)
- <https://rubysec.com/advisories/CVE-2024-46977> (web)

## Sources

- CVE List: [CVE-2024-46977](https://www.cve.org/CVERecord?id=CVE-2024-46977), CVE Terms of Use, modified 2024-10-31
- GitHub Advisory Database: [GHSA-8jxr-mccc-mwg8](https://github.com/advisories/GHSA-8jxr-mccc-mwg8), CC-BY-4.0, modified 2024-10-31
- NVD: [CVE-2024-46977](https://nvd.nist.gov/vuln/detail/CVE-2024-46977), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-101](https://osv.dev/vulnerability/PYSEC-2024-101), CC-BY-4.0, modified 2024-10-08

---

Page: https://cve.day/CVE-2024-46977 · Whole record: https://cve.day/CVE-2024-46977.json · Rebuilt by cve.day 2026-11-25T22:58:45.991Z
