Skip to main content
← All vulnerabilities
CVE-2026-42085PYSEC-2026-2243GHSA-4JVX-93H3-F45H

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.10.5, 7.0.0-rc3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • OpenC3 cosmos

    fixed in 6.10.5; From 7.0.0.pre.rc1 · fixed in 7.0.0-rc3

  • openc3PyPI

    fixed in 6.10.5

  • openc3RubyGems

    fixed in 6.10.5

  • openc3RubyGems

    From 7.0.0.pre.rc1 · fixed in 7.0.0-rc3

References 5

GitHub · OpenC3/cosmos