CVE-2025-28384 OpenC3 COSMOS Vulnerable to Directory Traversal via /script-api/scripts/ endpoint

Critical 9.1 Published Updated

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.

PackageAffectedFixed in
openc3-cosmos-tool-iframe RubyGemsAll versionsNone
openc3-cosmos-tool-iframe RubyGemsAll versionsNone
openc3 PyPIAll versions to 6.0.0None

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.

Sources

Also known as GHSA-p67j-387g-75wc, PYSEC-2025-257.

Is CVE-2025-28384 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free