Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain valid session token via initial compromise
-
DeliveryAccess COSMOS web interface with hijacked token
-
ExploitIntercept password change request in HTTP proxy
-
InstallSubmit stolen token as old_password parameter
-
C2Authentication model accepts token instead of password
-
ExecuteSet attacker-controlled new password
-
ImpactLock 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionGitHub 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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Critical remote code execution vulnerability in OpenC3 COSMOS v6.0.0's Plugin Management component that allows unauthent
OpenC3 COSMOS versions before v6.0.2 contain hardcoded credentials embedded in the Service Account, allowing unauthentic
Critical authentication bypass vulnerability in OpenC3 COSMOS v6.0.0 caused by weak password requirements that enable br
Critical directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 affecting the /script-api/scripts/ end
Directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 that allows unauthenticated remote attackers to
A security vulnerability in OpenC3 COSMOS (CVSS 7.5) that allows attackers. Risk factors: public PoC available.
A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2 allows attackers to execute arbitrary web scri
Privilege escalation in OpenC3 COSMOS allows low-privileged authenticated users to bypass API authorization and perform
SQL injection in OpenC3 COSMOS 6.7.0 to 7.0.0-rc2 allows authenticated users with minimal 'tlm' (telemetry viewer) privi
Authenticated OS command injection in OpenC3 COSMOS 5.12.0 through 7.2.1 allows a user with a valid session to run arbit
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.
OpenC3 COSMOS versions 5.0.6 through 7.2.x contain a stored cross-site scripting flaw in the shared-screen BUTTON widget
EUVD-2026-27057
GHSA-wgx6-g857-jjf7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB