CVE-2025-28384 OpenC3 COSMOS Vulnerable to Directory Traversal via /script-api/scripts/ endpoint
Attackers can exploit a directory traversal vulnerability in the OpenC3 COSMOS script API to read arbitrary files from the server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-28384?
CVE-2025-28384 is a critical path traversal vulnerability in n/a, published on 13 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0 allows attackers to execute a directory traversal.
Weakness: CWE-22
Which versions are affected by CVE-2025-28384?
3 open source packages ship an affected version, including openc3-cosmos-tool-iframe and openc3. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
openc3-cosmos-tool-iframe RubyGems | All versions | None |
openc3-cosmos-tool-iframe RubyGems | All versions | None |
openc3 PyPI | All versions to 6.0.0 | None |
Products include Openc3 Cosmos.
How do I fix CVE-2025-28384?
No fix has been published for CVE-2025-28384 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-28384 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-28384 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-p67j-387g-75wc, PYSEC-2025-257.