{"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-08-12T03:51:41.654693881Z","cvss":null,"epss":{"score":0.00912,"percentile":0.58353,"asOf":"2026-09-17"},"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"},{"type":"PACKAGE","url":"https://github.com/OpenC3/cosmos"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2024-101.yaml"},{"type":"WEB","url":"https://rubysec.com/advisories/CVE-2024-46977"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:41.654693881Z"}}