{"id":"CVE-2024-46977","aliases":["GHSA-8jxr-mccc-mwg8","PYSEC-2024-101"],"url":"https://o3.security/vulnerability/CVE-2024-46977","summary":"OpenC3 COSMOS allows a path traversal via screen controller (`GHSL-2024-127`)","details":"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.","published":"2024-10-02T19:17:14.049Z","modified":"2026-07-15T01:49:13.025527036Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"openc3","fixedVersion":"5.19.0"},{"ecosystem":"RubyGems","name":"openc3","fixedVersion":"5.19.0"}],"fix":{"url":"https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b","label":"OpenC3/cosmos@a34e61a"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46977.json"},{"type":"ADVISORY","url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-8jxr-mccc-mwg8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46977"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS"},{"type":"FIX","url":"https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:13.025527036Z"}}