CVE-2026-42085 OpenC3 COSMOS: Arbitrary write to plugins directory via path-traversed config filenames
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
OpenC3
cosmos
영향 받는 버전
- 6.10.5 미만
- 7.0.0.pre.rc1 이상 7.0.0-rc3 미만
해결 버전
- 6.10.5 이상
- 7.0.0-rc3 이상
참고 자료 5건
- github.com https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5 (새 창)
- github.com https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42 (새 창)
- github.com https://github.com/OpenC3/cosmos/releases/tag/v6.10.5 (새 창)
- github.com https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 (새 창)
- github.com https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45h (새 창)