CVE-2026-42084 — Vulnerability in openc3 — CVE Details
OpenC3 COSMOS: Hijacked session token can be used to reset password for persistence
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.44%). Schedule for your next planned update.
Does your project use an affected openc3 version?
Paste your Gemfile.lock to check it for CVE-2026-42084 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
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.
Details
The design flaw in authentication model (authentication.rb) allows for interchangeable use of password and session tokens for user authentication As old tokens are not revoked upon password reset, an attacker who has obtained a valid session token can continue to authenticate and change the account’s password even after the victim resets it, thereby maintaining persistent control over the compromised account.
PoC
- Attacker is logged in user account with hijacked valid session token, but not knowing the actual password
- Legitimate user, as preventive action, changes his password (password123) using old password (password), that he knows, then establishes new session
- Attacker issues another password change request (in web proxy like Burp) supplying his still valid token as old_password, changing it to attacker-password, from this point preventing any other legitimate users from accessing account
Impact
Persistence of an attacker who obtained valid session token and preventing legitimate users from account access
Advisory Timeline
- First published April 22, 2026 (218 days ago).
- Last revised September 10, 2026 — 140 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install openc3 -v 7.0.0-rc3
gem install openc3 -v 6.10.5
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-620
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/OpenC3/cosmos/security/advisories/GHSA-wgx6-g857-jjf7WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42084ADVISORY
- https://github.com/OpenC3/cosmos/commit/2e623714e3426d5ae81b6f8239d4a2a6937ef776WEB
- https://github.com/OpenC3/cosmosPACKAGE
- https://github.com/OpenC3/cosmos/releases/tag/v6.10.5WEB
- https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/openc3/CVE-2026-42084.ymlWEB
Frequently Asked Questions
- What is CVE-2026-42084?
- OpenC3 COSMOS: Hijacked session token can be used to reset password for persistence. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
- How do I check if my project is affected by CVE-2026-42084?
- CVE-2026-42084 affects openc3. It has a 0.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42084 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 30.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-42088CRITICAL
OpenC3 COSMOS: Permissions Bypass Provides User Access to Unassigned Administrative Actions via Script Runner Tool
- CVE-2026-77602CRITICAL
OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)
- CVE-2026-42087CRITICAL
OpenC3 COSMOS has SQL Injection in QuestDB Time-Series Database
- CVE-2024-46977HIGH
OpenC3 Path Traversal via screen controller (`GHSL-2024-127`)
- CVE-2026-42085MEDIUM
OpenC3 COSMOS allows arbitrary writes to plugins directory via path-traversed config filenames
- CVE-2024-47529MEDIUM
OpenC3 stores passwords in clear text (`GHSL-2024-129`)
- CVE-2026-42086MEDIUM
OpenC3 COSMOS is Vulnerable to Self-XSS Through the Command Sender
- CVE-2024-43795MEDIUM
OpenC3 Cross-site Scripting in Login functionality (`GHSL-2024-128`)