{"cve":"CVE-2026-42085","nvd":{"published":"2026-05-04T18:16:30.510","modified":"2026-10-26T19:10:00.163","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-23"],"references":["https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5","https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42","https://github.com/OpenC3/cosmos/releases/tag/v6.10.5","https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3","https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45h"],"products":["openc3:cosmos"],"source":"nvd","synced_at":"2026-10-26T19:31:02.781428341+00:00"},"epss":{"cve":"CVE-2026-42085","score":0.00313,"percentile":0.2403,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-4jvx-93h3-f45h","url":"https://osv.dev/vulnerability/GHSA-4jvx-93h3-f45h","summary":"OpenC3 COSMOS allows arbitrary writes to plugins directory via path-traversed config filenames","modified":"2026-09-10T03:50:42.680585110Z","packages":[{"ecosystem":"RubyGems","name":"openc3","purl":"pkg:gem/openc3","ranges":["<6.10.5"],"fixed":["6.10.5"]},{"ecosystem":"RubyGems","name":"openc3","purl":"pkg:gem/openc3","ranges":[">=7.0.0.pre.rc1 <7.0.0-rc3"],"fixed":["7.0.0-rc3"]}]},{"id":"PYSEC-2026-2243","url":"https://osv.dev/vulnerability/PYSEC-2026-2243","summary":"","modified":"2026-07-13T07:15:38.668174368Z","packages":[{"ecosystem":"PyPI","name":"openc3","purl":"pkg:pypi/openc3","ranges":["<6.10.5"],"fixed":["6.10.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}