CVE-2026-42085
CVE-2026-42085 · OpenC3 COSMOS: Arbitrary write to plugins directory via path-traversed config filenames
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to versions 6.10.5 and 7.0.0-rc3, OpenC3 COSMOS contains a design flaw in the save_tool_config() function that allows saving tool configuration files at arbitrary locations inside the shared /plugins directory tree by supplying crafted configuration filenames. Although the implementation sufficiently mitigates standard path traversal attacks, by canonicalizing filename to an absolute path, all plugins share this same root directory. That enables users to create arbitrary file structures and overwrite existing configuration files within the shared /plugins directory. This issue has been patched in versions 6.10.5 and 7.0.0-rc3.
CVSS 4.3 · Moyenne · EPSS 0,3% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: python
Produits et versions concernés
cosmos
- Versions du logiciel
- < 6.10.5: Concernée
- >= 7.0.0.pre.rc1, < 7.0.0-rc3: Concernée
Aucun correctif publié
openc3 PyPI
- Versions du logiciel
- 0.1.0
- 5.10.0
- 5.10.1
- 5.11.0
- 5.11.1
- 5.11.2
- 5.11.3
- 5.12.0
- 5.13.0
- 5.14.0
- 5.14.1
- 5.14.2
- 5.15.0
- 5.15.1
- 5.15.2
- 5.16.0
- 5.16.1
- 5.16.2
- 5.17.0
- 5.17.1
- 5.18.0
- 5.19.0
- 5.20.0
- 5.9.2b0
- 6.0.0
- 6.0.1
- 6.0.2
- 6.1.0
- 6.10.0
- 6.10.1
- 6.10.2
- 6.10.3
- 6.10.4
- 6.2.0
- 6.2.1
- 6.3.0
- 6.4.0
- 6.4.1
- 6.4.2
- 6.5.0
- 6.5.1
- 6.6.0
- 6.7.0
- 6.8.0
- 6.8.1
- 6.9.0
- 6.9.1
- 6.9.2
- Plages de versions concernées
- ECOSYSTEM: < 6.10.5
Mettez à jour vers 6.10.5
Sources originales
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45h
- https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5
- https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42
- https://github.com/OpenC3/cosmos/releases/tag/v6.10.5
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3
- https://nvd.nist.gov/vuln/detail/CVE-2026-42085