CVE-2026-42085
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.
Weakness
- CWE-23: Relative Path Traversal
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-04 |
Timeline
- 2026-04-22GitHub advisory published (GHSA-4jvx-93h3-f45h)12 days before publication
- 2026-05-04Published by the CNA17:13 UTC
- 2026-05-04CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-4jvx-93h3-f45h, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems openc3 | before 6.10.5 | 6.10.5 |
| RubyGems openc3 | from 7.0.0.pre.rc1 before 7.0.0-rc3 | 7.0.0-rc3 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openc3 cosmos | before 6.10.5fixed in 6.10.57.0.0no fix listed | 6.10.5not listed |
References
- https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5
- https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45h
- https://github.com/OpenC3/cosmos/releases/tag/v6.10.5
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42085'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42085'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42085'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42085'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).