Home / OpenC3 / cosmos / CVE-2026-42086
CVE-2026-42086: is it exploited, and which versions of OpenC3 cosmos are affected and fixed?
CVE-2026-42086 is a cross-site scripting (XSS) vulnerability in OpenC3 cosmos. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: openc3 before 7.0.0 (GitHub advisory GHSA-ffq5-qpvf-xq7x). Fixed in 7.0.0 (GitHub advisory GHSA-ffq5-qpvf-xq7x). Severity: Medium (4.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42086?
OpenC3 COSMOS: Self-XSS in the Command Sender
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to version 7.0.0, the Command Sender UI uses an unsafe eval() function on array-like command parameters, which allows a user-supplied payload to execute in the browser when sending a command. This creates a self-XSS risk because an attacker can trigger their own script execution in the victim’s session, if allowed to influence the array parameter input, for example via phishing. If successful, an attacker may read or modify data in the authenticated browser context, including session tokens in local storage. This issue has been patched in version 7.0.0.
From the CVE record by GitHub_M, last updated May 4, 2026, 19:47 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenC3 | cosmos | < 7.0.0 |
As the CVE record by GitHub_M states it, last updated May 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | openc3 | < 7.0.0 | 7.0.0 | GHSA-ffq5-qpvf-xq7x |
| PyPI | openc3 | < 7.0.0 | 7.0.0 | GHSA-ffq5-qpvf-xq7x |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 29, 2026. Summary: OpenC3 COSMOS is Vulnerable to Self-XSS Through the Command Sender.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openc3 | cosmos | before 7.0.0 | application |
| openc3 | cosmos | 7.0.0 | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 19:10 UTC.
How severe is CVE-2026-42086?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42086 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, May 4, 2026)
- EPSS
- 0.21% probability of exploitation activity in the next 30 days, percentile 11.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- April 23, 2026
- Published
- May 4, 2026, 17:15 UTC
- CVE record updated
- May 4, 2026, 19:47 UTC by GitHub_M
- NVD
- Analyzed, last modified October 26, 2026, 19:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect cosmos?
- Sep 23, 2026CVE-2026-77602 OpenC3 cosmos: code injection (remote code execution)
- Sep 23, 2026CVE-2026-77394 OpenC3 cosmos: cross-site scripting (XSS)
- Sep 23, 2026CVE-2026-77601 OpenC3 cosmos: OS command injection
- May 4, 2026CVE-2026-42088 OpenC3 cosmos: runs with more privileges than needed
- May 4, 2026CVE-2026-42087 OpenC3 cosmos: SQL injection
- May 4, 2026CVE-2026-42085 OpenC3 cosmos: path traversal
- May 4, 2026CVE-2026-42084 OpenC3 cosmos: unverified Password Change
- Jan 13, 2026CVE-2025-68271 OpenC3 cosmos: code injection through eval
Questions about CVE-2026-42086
Is CVE-2026-42086 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.21% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of OpenC3 cosmos are affected by CVE-2026-42086?
openc3 before 7.0.0, per the GitHub advisory GHSA-ffq5-qpvf-xq7x. The tables above give every range the sources list.
Which version fixes CVE-2026-42086?
7.0.0, per the GitHub advisory GHSA-ffq5-qpvf-xq7x. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42086?
Medium (4.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42086?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.