CVE-2026-42085

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

State
Published
Severity
4.3 Medium
Published
May 4, 2026
Updated
May 4, 2026
Reserved
Apr 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

  • CWE-23 Relative Path Traversal

Affected Products

ProductVersions
cosmosOpenC3
  • < 6.10.5Affected
  • >= 7.0.0.pre.rc1, < 7.0.0-rc3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.