Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-42085 EUVD-2026-27059GHSA-4jvx-93h3-f45hPYSEC-2026-2243

OpenC3 COSMOS: Arbitrary write to plugins directory via path-traversed config filenames

Published May 4, 2026 · Updated May 4, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
OpenC3 cosmos < 6.10.5, >= 7.0.0.pre.rc1, < 7.0.0-rc3 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI openc3 < 6.10.5 6.10.5 PYSEC-2026-2243
RubyGems openc3 < 6.10.5 6.10.5 GHSA-4jvx-93h3-f45h
RubyGems openc3 >= 7.0.0.pre.rc1, < 7.0.0-rc3 7.0.0-rc3 GHSA-4jvx-93h3-f45h

References