CVE-2024-46977: OpenC3 Path Traversal via screen controller (`GHSL-2024-127`)
Summary A path traversal vulnerability inside of LocalMode's openlocalfile 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). Note: This CVE affects all OpenC3 COSMOS Editions Impact This issue may lead to Information Disclosure.
Published Oct 2, 2024 · Updated Oct 31, 2024
Affected packages
openc3
- Ecosystem
- RubyGems
- Affected
- < 5.19.0
- Fixed in
- 5.19.0
- Check
bundle info openc3
openc3
- Ecosystem
- PyPI
- Affected
- < 5.19.0
- Fixed in
- 5.19.0
- Check
pip show openc3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
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).
Note: This CVE affects all OpenC3 COSMOS Editions
Impact
This issue may lead to Information Disclosure.
Credited to p-.
References
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-8jxr-mccc-mwg8
- https://github.com/OpenC3/cosmos/commit/a34e61aea5a465f0ab3e57d833ae7ff4cafd710b
- https://nvd.nist.gov/vuln/detail/CVE-2024-46977
- https://github.com/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2024-101.yaml
- https://rubysec.com/advisories/CVE-2024-46977
- https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS
- https://github.com/advisories/GHSA-8jxr-mccc-mwg8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More RubyGems vulnerabilities
All RubyGems entriesCVE-2026-77601
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
high8.8Sep 23, 2026CVE-2026-77602
OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)
critical9.9Sep 23, 2026CVE-2026-42087
OpenC3 COSMOS has SQL Injection in QuestDB Time-Series Database
critical9.6Apr 23, 2026GHSA-2wvh-87g2-89hr
OpenC3 COSMOS: Permissions Bypass Provides User Access to Unassigned Administrative Actions via Script Runner Tool
critical9.6Apr 23, 2026CVE-2026-42084
OpenC3 COSMOS: Hijacked session token can be used to reset password for persistence
high8.1Apr 22, 2026CVE-2026-42085
OpenC3 COSMOS allows arbitrary writes to plugins directory via path-traversed config filenames
medium4.3Apr 22, 2026
