Loading advisory.
Loading advisory.
OpenC3 COSMOS: Hijacked session token can be used to reset password for persistence
The OpenC3 password change functionality allows a user to change their password without providing the old password, by accepting a valid session token instead.
Published 2026-04-22 22:13 UTC · Modified 2026-09-10 03:51 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| openc3 | PyPI | < 6.10.5 versions 0.1.0, 5.10.0, 5.10.1, 5.11.0, 5.11.1, 5.11.2, 5.11.3, 5.12.0, 5.13.0, 5.14.0, 5.14.1, 5.14.2, 5.15.0, 5.15.1, 5.15.2, 5.16.0, 5.16.1, 5.16.2, 5.17.0, 5.17.1 and 28 more | 6.10.5 | pip install --upgrade 'openc3>=6.10.5' |
| openc3 | RubyGems | < 6.10.5 >= 7.0.0.pre.rc1, < 7.0.0-rc3 versions 5.0.10, 5.0.11, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.1.0, 5.1.1, 5.10.0, 5.10.1, 5.11.0, 5.11.1, 5.11.2, 5.11.3, 5.12.0, 5.13.0, 5.14.0, 5.14.1, 5.14.2, 5.15.0 and 63 more | 6.10.5, 7.0.0-rc3 | gem install openc3 -v 6.10.5gem install openc3 -v 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.
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.
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
<img width="912" height="479" alt="image" src="https://github.com/user-attachments/assets/d27b5980-0326-40f8-bb39-657d7b1c95a0" />
<img width="923" height="423" alt="image" src="https://github.com/user-attachments/assets/060d9fe1-637e-4a2d-9142-76612984ea28" />
Persistence of an attacker who obtained valid session token and preventing legitimate users from account access
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |