CVE-2026-42086
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-04 |
Timeline
- 2026-04-22GitHub advisory published (GHSA-ffq5-qpvf-xq7x)12 days before publication
- 2026-05-04Published by the CNA17:15 UTC
- 2026-05-04CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-ffq5-qpvf-xq7x, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI openc3 | before 7.0.0 | 7.0.0 |
| RubyGems openc3 | before 7.0.0 | 7.0.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| openc3 cosmos | before 7.0.0fixed in 7.0.07.0.0no fix listed | 7.0.0not listed |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42086'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42086'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42086'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42086'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).