Skip to main content

OpenC3 COSMOS CVE-2026-42084

| EUVDEUVD-2026-27057 HIGH
Unverified Password Change (CWE-620)
2026-05-04 GitHub_M GHSA-wgx6-g857-jjf7
8.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain valid session token via initial compromise
  2. Delivery
    Access COSMOS web interface with hijacked token
  3. Exploit
    Intercept password change request in HTTP proxy
  4. Install
    Submit stolen token as old_password parameter
  5. C2
    Authentication model accepts token instead of password
  6. Execute
    Set attacker-controlled new password
  7. Impact
    Lock out legitimate user and maintain persistent access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Password change verification
Exploitation Conditions

Attacker must possess a valid authenticated session token obtained through prior compromise (session hijacking, XSS, credential theft, network interception, or insider access). The vulnerability affects the password change functionality specifically, requiring access to the /auth endpoint with PR:L (low-privileged authenticated user). No special COSMOS configuration or features need to be enabled - default authentication model is vulnerable. Network access (AV:N) to the COSMOS web interface is required, but the primary limiting factor is the prerequisite breach condition. The vulnerability does NOT provide initial access; it is a privilege persistence mechanism post-compromise. Organizations using external authentication providers (LDAP, SAML, OAuth) instead of COSMOS internal authentication may have different exposure depending on password change workflow delegation.

Impact

The CVSS score of 8.1 (High) reflects network-accessible attack requiring low-privilege authenticated access (AV:N/AC:L/PR:L/UI:N) with high confidentiality and integrity impact but no availability impact. However, real-world exploitation requires a critical precondition: the attacker must ALREADY possess a valid session token through prior compromise (credential theft, XSS, session hijacking, or insider threat). This significantly constrains the attack population compared to remotely exploitable vulnerabilities. The GHSA advisory explicitly frames this as an 'assumed breach scenario' for establishing persistence rather than initial access. Public exploit code exists (detailed PoC in GitHub advisory with Burp Suite request examples), lowering the skill barrier for post-compromise exploitation. No CISA KEV listing identified at time of analysis, suggesting limited widespread exploitation despite POC availability. The primary business risk is operational continuity for command-and-control systems in aerospace, defense, and industrial control environments where COSMOS is deployed - an attacker maintaining admin persistence could manipulate embedded system commands, falsify telemetry data, or conduct sabotage operations. The vulnerability is most critical in multi-user COSMOS deployments with privileged separation, less critical in single-admin environments where the admin account is already the sole attack surface. Organizations without existing token-theft vectors (strong endpoint security, MFA, short session TTLs, network segmentation) face materially lower risk than the raw CVSS suggests.

Exploit ScenarioDerived

An attacker conducts initial compromise through phishing, malware, or exploiting a separate vulnerability to steal a valid COSMOS session token from a legitimate user's browser or network traffic. Using the hijacked token, the attacker accesses the COSMOS web interface without knowing the actual password. When the legitimate user detects suspicious activity and attempts to reset their password using their known password, the attacker intercepts or independently issues a password change request via HTTP proxy (Burp Suite), submitting their stolen session token in the old_password parameter instead of the actual password. The flawed authentication logic accepts the token, allowing the attacker to set a new password, locking out the legitimate user and establishing persistent access even after detection and remediation attempts.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 04, 2026

OpenC3 COSMOS password change functionality accepts valid session tokens in lieu of current passwords, enabling attackers with hijacked tokens to lock out legitimate users and maintain persistent access to compromised accounts including administrator accounts. Publicly available exploit code demonstrates the attack chain. All versions prior to 6.10.5 and 7.0.0-rc1 through 7.0.0-rc2 are affected. The vendor has released patched versions 6.10.5 and 7.0.0-rc3 that enforce password-only verification during password change operations.

RemediationAI

Upgrade to OpenC3 COSMOS version 6.10.5 (for 6.x stable deployments) or version 7.0.0-rc3 (for 7.0 release candidate deployments) per vendor releases at https://github.com/OpenC3/cosmos/releases/tag/v6.10.5 and https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3. The fix is implemented in commit 2e623714e3426d5ae81b6f8239d4a2a6937ef776, which modifies authentication.rb and auth_model.rb to enforce password-only verification during password change operations via a new mode parameter. If immediate patching is not feasible, implement compensating controls: (1) Force re-authentication with password (not just session validity) before allowing administrative actions including password changes, achievable through custom middleware or reverse proxy logic but requires code modification; (2) Implement aggressive session token rotation with maximum 15-minute TTLs and revoke all sessions on password change via Redis SESSIONS_KEY flush, reducing attacker persistence window but degrades user experience with frequent re-logins; (3) Enable comprehensive audit logging of all password change events with session token fingerprints (IP, user-agent) and alert on password changes from anomalous sources, providing detection but not prevention; (4) Restrict COSMOS access to trusted networks via firewall rules or VPN-only access, reducing session token theft vectors but impedes operational flexibility for remote operators. Note that these compensating controls require custom development effort and do not address the root cause - patching is the definitive solution.

Affected VersionsENISA

cosmos < 6.10.5
cosmos 7.0.0.pre.rc1, < 7.0.0-rc3

Affected Packages

pypi openc3 fix: 6.10.5
rubygems openc3 fix: 6.10.5, 7.0.0-rc3
euvd cosmos fix: 6.10.5
euvd cosmos_7_0_0_pre_rc1 fix: 7.0.0-rc3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in pypi, rubygems, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenC3 COSMOS is a command-and-control system for embedded systems and spacecraft operations. The vulnerability exists in the authentication model (authentication.rb and auth_model.rb) where the verify_no_service() function accepted both passwords and session tokens interchangeably for user authentication verification. This design flaw stems from CWE-620 (Unverified Password Change), where the password change endpoint failed to distinguish between credential types. The authentication controller called verify_no_service with no_password:false, allowing tokens to pass password verification checks. The fix introduces a mode parameter (:password, :token, :any) to explicitly enforce password-only verification during password reset operations, preventing session tokens from being accepted when old_password validation is required. The authentication model caches both session tokens (SESSIONS_KEY Redis hash) and password hashes (PRIMARY_KEY using Argon2) with separate TTLs, and the original implementation checked both stores without distinguishing the authentication context.

Know when Cosmos gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
May 04, 2026 - 19:17 EUVD
CVE Published
May 04, 2026 - 17:11 nvd
HIGH 8.1

DescriptionGitHub Advisory

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, the OpenC3 password change functionality allows a user to change their password without providing the old password, by accepting a valid session token instead. In assumed breach scenarios, this behaviour can be exploited by an attacker who has already obtained a valid session token, to gain persistence in hijacked account (including admin) and prevent legitimate users from accessing the account. This issue has been patched in versions 6.10.5 and 7.0.0-rc3.

Executive ViewAI

Why It Matters

OpenC3 COSMOS versions prior to 6.10.5 and 7.0.0-rc3 contain a critical authentication bypass in password change functionality that allows attackers with valid session tokens to hijack administrator and user accounts without knowing current passwords. This vulnerability directly enables account lockout and persistent unauthorized access to systems managing industrial control or critical infrastructure operations, requiring immediate remediation across all affected deployments.

Business Impact: Severe
Compensating Controls

Vendor-released patch: version 6.10.5 for v6.x branch and version 7.0.0-rc3 or later for v7.x branch. If immediate patching is not feasible: (1) Disable or restrict access to password change functionality at the network or application level until patch is applied; (2) Implement strict session token lifecycle management with mandatory re-authentication for password changes; (3) Enable detailed logging and alerting on all password modification events; (4) Require multi-factor authentication for all administrative accounts as interim access control; (5) Perform continuous monitoring of session token usage patterns for indicators of compromise.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Cosmos

View all
CVE-2025-28386 CRITICAL POC
9.8 Jun 13

Critical remote code execution vulnerability in OpenC3 COSMOS v6.0.0's Plugin Management component that allows unauthent

CVE-2025-28388 CRITICAL POC
9.8 Jun 13

OpenC3 COSMOS versions before v6.0.2 contain hardcoded credentials embedded in the Service Account, allowing unauthentic

CVE-2025-28389 CRITICAL POC
9.8 Jun 13

Critical authentication bypass vulnerability in OpenC3 COSMOS v6.0.0 caused by weak password requirements that enable br

CVE-2025-28384 CRITICAL POC
9.1 Jun 13

Critical directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 affecting the /script-api/scripts/ end

CVE-2025-28382 HIGH POC
7.5 Jun 13

Directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 that allows unauthenticated remote attackers to

CVE-2025-28381 HIGH POC
7.5 Jun 13

A security vulnerability in OpenC3 COSMOS (CVSS 7.5) that allows attackers. Risk factors: public PoC available.

CVE-2025-28380 MEDIUM POC
6.1 Jun 13

A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2 allows attackers to execute arbitrary web scri

CVE-2026-42088 CRITICAL
9.6 May 04

Privilege escalation in OpenC3 COSMOS allows low-privileged authenticated users to bypass API authorization and perform

CVE-2026-42087 CRITICAL
9.6 May 04

SQL injection in OpenC3 COSMOS 6.7.0 to 7.0.0-rc2 allows authenticated users with minimal 'tlm' (telemetry viewer) privi

CVE-2026-77601 HIGH POC
8.8 Sep 23

Authenticated OS command injection in OpenC3 COSMOS 5.12.0 through 7.2.1 allows a user with a valid session to run arbit

CVE-2024-47529 MEDIUM POC
4.8 Oct 02

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.

CVE-2026-77394 HIGH POC
7.6 Sep 23

OpenC3 COSMOS versions 5.0.6 through 7.2.x contain a stored cross-site scripting flaw in the shared-screen BUTTON widget

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy