CVE-2026-42085
CVE-2026-42085 · OpenC3 COSMOS: Arbitrary write to plugins directory via path-traversed config filenames
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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 · Media · EPSS 0,3% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: python
Productos y versiones afectados
cosmos
- Versiones
- < 6.10.5: Afectada
- >= 7.0.0.pre.rc1, < 7.0.0-rc3: Afectada
Sin corrección publicada
openc3 PyPI
- Versiones
- 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
- Intervalos de versiones afectados
- ECOSYSTEM: < 6.10.5
Actualiza a 6.10.5
Fuentes 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