CVE-2025-28384: Openc3 cosmos tool iframe Path Traversal Vulnerability
CRITICALCVE-2025-28384 is a CRITICAL (CVSS 9.1) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Openc3 cosmos tool iframe libraries in the RubyGems ecosystem. The issue involves openc3 cosmos vulnerable to directory traversal via /script-api/scripts/ endpoint. Remediation is available in the latest vendor maintenance releases.
CVE-2025-28384 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2025-28384
To remediate this vulnerability, upgrade all affected Openc3 cosmos tool iframe dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade openc3-cosmos-tool-iframe to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for openc3-cosmos-tool-iframe
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-28384, inspect your project dependencies for Openc3 cosmos tool iframe:
inspect dependencies for openc3-cosmos-tool-iframe
Analyze the terminal output to locate any version of Openc3 cosmos tool iframe in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Openc3 cosmos tool iframe, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-28384 Affected Openc3 cosmos tool iframe Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
openc3-cosmos-tool-iframe
|
RubyGems |
6.0.0
All 1 versions
6.0.0
|
None specified
|
References
Frequently Asked Questions
What is CVE-2025-28384?
Which Openc3 cosmos tool iframe versions are affected?
What version fixes CVE-2025-28384?
Is openc3-cosmos-tool-iframe affected?
What is the CVSS score of CVE-2025-28384?
What CWE is associated with CVE-2025-28384?
How can I check RubyGems dependencies for CVE-2025-28384?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p67j-387g-75wc",
"modified" : "2025-10-27T20:00:51Z",
"published" : "2025-06-13T15:30:31Z",
"aliases" : [ "CVE-2025-28384" ],
"summary" : "OpenC3 COSMOS Vulnerable to Directory Traversal via /script-api/scripts/ endpoint",
"details" : "An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS 6.0.0 allows attackers to execute a directory traversal.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "openc3-cosmos-tool-iframe"
},
"versions" : [ "6.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-28384"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenC3/cosmos/pull/1828"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenC3/cosmos/pull/1828/commits/fc7e11310a7cdf9f1939886e1b29009db4d4b718"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenC3/cosmos"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenC3/cosmos/releases/tag/v6.1.0"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3-cosmos-tool-iframe/CVE-2025-28384.yml"
}, {
"type" : "WEB",
"url" : "https://openc3.com"
}, {
"type" : "WEB",
"url" : "https://visionspace.com/openc3-cosmos-a-security-assessment-of-an-open-source-mission-framework"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-16T13:04:16Z",
"nvd_published_at" : "2025-06-13T14:15:20Z"
}
}