CVE-2026-42085
MEDIUM 4.3CVSS 3.1OpenC3 COSMOS allows arbitrary writes 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.
- Published
- 4 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-23
- Also known as
- GHSA-4jvx-93h3-f45hPYSEC-2026-2243
- Sources
- NVDJSONOSV GHSA-4jvx-93h3-f45hJSONOSV PYSEC-2026-2243JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:* |
< 6.10.5 | 6.10.5 |
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:* |
= 7.0.0 | |
| NVD | openc3 | cosmoscpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:* |
= 7.0.0 | |
| OSV | RubyGems | openc3 | < 6.10.5 | 6.10.5 |
| OSV | RubyGems | openc3 | >= 7.0.0.pre.rc1, < 7.0.0-rc3 | 7.0.0-rc3 |
| OSV | PyPI | openc3 | < 6.10.5 | 6.10.5 |
References
- https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5 · Patch, WEB, FIX
- https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42 · Patch, WEB, FIX
- https://github.com/OpenC3/cosmos/releases/tag/v6.10.5 · Release Notes, WEB, ADVISORY
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3 · Release Notes, WEB, ADVISORY
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45h · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2026-42085 · ADVISORY
- https://github.com/OpenC3/cosmos · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2026-42085.yml · WEB
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 May 2026)