Description
An issue in the /script-api/scripts/ endpoint of OpenC3 COSMOS before 6.1.0 allows attackers to execute a directory traversal.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | openc3 | <= 6.0.0 | — | PYSEC-2025-257 |
| RubyGems | openc3-cosmos-tool-iframe | 6.0.0 | — | GHSA-p67j-387g-75wc |
References
- https://openc3.com/
- https://visionspace.com/openc3-cosmos-a-security-assessment-of-an-open-source-mission-framework/
- https://github.com/OpenC3/cosmos/releases/tag/v6.1.0
- https://github.com/OpenC3/cosmos/pull/1828
- https://github.com/OpenC3/cosmos/pull/1828/commits/fc7e11310a7cdf9f1939886e1b29009db4d4b718