# CVE-2026-42086: OpenC3 COSMOS: Self-XSS in the Command Sender

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T22:22:28.000Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-ffq5-qpvf-xq7x, PYSEC-2026-105
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- OpenC3 cosmos: < 7.0.0; before 7.0.0; 7.0.0
- openc3 (RubyGems): before 7.0.0
- openc3 (PyPI): before 7.0.0

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x> (exploit, evidence, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42086> (advisory)
- <https://github.com/OpenC3/cosmos> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/openc3/PYSEC-2026-105.yaml> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2026-42086.yml> (web)

## Sources

- CVE List: [CVE-2026-42086](https://www.cve.org/CVERecord?id=CVE-2026-42086), CVE Terms of Use, modified 2026-05-04
- GitHub Advisory Database: [GHSA-ffq5-qpvf-xq7x](https://github.com/advisories/GHSA-ffq5-qpvf-xq7x), CC-BY-4.0, modified 2026-05-29
- NVD: [CVE-2026-42086](https://nvd.nist.gov/vuln/detail/CVE-2026-42086), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-105](https://osv.dev/vulnerability/PYSEC-2026-105), CC-BY-4.0, modified 2026-05-20

---

Page: https://cve.day/CVE-2026-42086 · Whole record: https://cve.day/CVE-2026-42086.json · Rebuilt by cve.day 2026-11-25T22:59:20.540Z
