CVE-2026-42088
Openc3 Cosmos ≤ 7.0.0
Raw vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-42088 is a critical-severity Execution with Unnecessary Privileges (CWE-250) vulnerability in Openc3 Cosmos. Its CVSS base score is 9.6 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Setuid and Setgid (T1548.001); ranked at the 35th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to AC-6 (Least Privilege) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-42088 is a high-severity vulnerability (CVSS 9.6, AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N) affecting OpenC3 COSMOS prior to version 7.0.0-rc3. The issue resides in the Script Runner widget within the openc3-COSMOS-script-runner-api Docker container, which enables users to execute Python and Ruby scripts. Due to all Docker containers sharing a network, these scripts can bypass API permissions checks, allowing unauthorized access to other services.
Any authenticated user with permission to create and run scripts can exploit this vulnerability remotely over the network. Successful exploitation grants administrative capabilities normally restricted to the Admin Console, including reading and modifying data in the Redis database to access secrets and alter COSMOS settings, as well as reading and writing to the buckets service containing configuration, log, and plugin files.
The vulnerability has been addressed in OpenC3 COSMOS version 7.0.0-rc3, as detailed in the project's release notes and GitHub Security Advisory GHSA-2wvh-87g2-89hr. Security practitioners should upgrade to the patched version to mitigate the risk, associated with CWE-250 (Execution with Unnecessary Privileges).
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-27065
Vulnerability Data
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-rc3, the Script Runner widget allows users to execute Python and Ruby scripts directly from the openc3-COSMOS-script-runner-api container.…
more
Because all the docker containers share a network, users can execute specially crafted scripts to bypass the API permissions check and perform administrative actions, including reading and modifying data inside the Redis database, which can be used to read secrets and change COSMOS settings, as well as read and write to the buckets service, which holds configuration, log, and plugin files. These actions are normally only available from the Admin Console or with administrative privileges. Any user with permission to create and run scripts can connect to any service in the docker network. This issue has been patched in version 7.0.0-rc3.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 4 hardening rules · 4 OS baselines
V10.2.3V13.2.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Least privilege directly requires that only the minimum necessary authorizations are granted, structurally eliminating execution with unnecessary privileges.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
PR.AA-05 directly enforces least privilege so largely eliminates CWE-250 at design time, yet the weakness can still arise from runtime escalation paths, third-party code, or misapplied role definitions outside this single control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Requiring explicit justification and time-limited grants discourages the routine allocation of unnecessary privileges that would otherwise allow execution with more rights than required.
A.8.29's SOURCE reach (code review, automated static analysis) catches most CWE-250 instances — setuid/setgid calls, excessive Android permission requests, and obvious privilege-not-dropped patterns are detectable by SAST and code review, and RUNTIME reach (penetration testing, dynamic analysis) observes process privilege levels at execution; the remainder is subtle architectural decisions about whether a privilege is genuinely 'unnecessary' for the component's purpose, which require design-level judgment beyond what security testing typically provides.
The control explicitly calls for minimizing privileged identities and disabling unnecessary accounts, thereby reducing the number of processes that run with unnecessary privileges.
Independent scrutiny can identify processes or services still running with unnecessary privileges and drive their reduction before an attacker can abuse them.
Training developers about least-privilege principles reduces some instances of CWE-250 where the unnecessary privilege arises from a developer's convenience choice or knowledge gap, but the weakness also stems from architectural decisions, library/framework defaults, and platform behaviors that training alone does not reach, leaving a nameable remainder.
A.8.28 explicitly names 'principle of least privilege' in its pre-operational evaluation step and its secure coding principles cover privilege management during development, so a well-implemented programme prevents a slice of CWE-250 instances; the remainder is the same shape as the other A.8.28 anchors -- the clause mandates a fallible practice, and CWE-250 can also be introduced at installation (setuid programs) and operation phases that the coding-time guidance does not reach.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
Windows 10 (1 rule)
- V-220712 Only accounts responsible for the administration of a system must have Administrator rights on the system. blocks CWE-250
Windows Server 2016 (1 rule)
- V-225007 Only administrators responsible for the member server or standalone or nondomain-joined system must have Administrator rights on the system. blocks CWE-250
Windows Server 2019 (1 rule)
- V-205746 Windows Server 2019 must only allow Administrators responsible for the member server or standalone or nondomain-joined system to have Administrator rights on the system. blocks CWE-250