SecurityContext

CVE-2026-42085: OpenC3 COSMOS - File Inclusion

  • Cve: CVE-2026-42085
  • Name: OpenC3 COSMOS - File Inclusion
  • 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.
  • Impact: Authenticated users can overwrite configuration files within the shared plugins directory, potentially disrupting system behavior or escalating privileges.
  • Remediation: Update to versions 6.10.5 or 7.0.0-rc3 or later.
  • Vulnerability type: file_inclusion
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must supply crafted configuration filenames
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00313
  • Epss percentile: 0.24464
  • Assignee: [email protected]
  • Published at: 2026-05-04T18:16:30Z
  • Age in days: 204
  • Modified at: 2026-10-26T19:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42085
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-23Relative Path Traversal

Public exploits

UrlSourceAdded date
https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45hnvd2026-05-04

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/OpenC3/cosmos/commit/9957a9fa460c0c0cf5cdbf6a5931bbdd025246a5Patch
https://github.com/OpenC3/cosmos/commit/e6efccbd148ba0e3361c5891027f2373aa140d42Patch
https://github.com/OpenC3/cosmos/security/advisories/GHSA-4jvx-93h3-f45hExploit, Vendor Advisory
https://github.com/OpenC3/cosmos/releases/tag/v6.10.5Release Notes
https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
openc3:cosmos= 7.0.0 rc1, = 7.0.0 rc2, < 6.10.5nonvd/v1/products/openc3/cosmos

Projects

RepositoryLink kindsIndexedUrl
OpenC3/cosmoscommit, fix, package, releases, security_advisoryyes/v1/repositories/OpenC3/cosmos

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-05-04
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts