Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.3

CVE-2024-46977: OpenC3 COSMOS lets authorized user download any text file

CVE-2024-46977 · published 2 years ago
Summary

A user who is logged in and has the right rights can request the ScreensController page and cause the system to read any .txt file on the server, potentially exposing sensitive data. The issue exists in the LocalMode component’s file‑opening routine. Upgrade OpenC3 COSMOS to version 5.19.0 or later to fix the problem.

What to do
  • Update ryan melton openc3 to version 5.19.0.
  • Update support openc3 to version 5.19.0.
  • Update openc3 cosmos to version 5.19.0 or later.
Affected software
Ecosystem VendorProductAffected versions
rubygems ryan melton openc3 < 5.19.0
Fix: upgrade to 5.19.0
– openc3 cosmos < 5.19.0
cpe:2.3:a:openc3:cosmos:*:*:*:*:enterprise:*:*:*
pip support openc3 < 5.19.0
Fix: upgrade to 5.19.0
Original advisory text
OpenC3 COSMOS allows a path traversal via screen controller (`GHSL-2024-127`)
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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
7.3 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-22Path Traversal
Timeline
Published2 Oct 2024
Updated3 Nov 2026
First seen6 Mar 2026
Sources
Track software like this
Free during beta