{"id":"CVE-2026-42084","published":"2026-05-04T17:11:31Z","modified":"2026-05-06T13:39:58Z","title":"OpenC3 COSMOS: Hijacked session token can be used to reset password for persistence","vendor":"OpenC3","product":"cosmos","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0044,"percentile":0.30167,"provenance":"source"},"cwes":[{"id":"CWE-620","name":"Unverified Password Change"}],"references":[{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-wgx6-g857-jjf7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenC3/cosmos/commit/2e623714e3426d5ae81b6f8239d4a2a6937ef776","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v6.10.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.0.0-rc3","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":6.03},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"openc3","affectedVersions":[{"vendor":"OpenC3","product":"cosmos","versions":["< 6.10.5",">= 7.0.0.pre.rc1, < 7.0.0-rc3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-06T13:39:31.426814Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"openc3","vulnerableRanges":["<6.10.5",">=7.0.0.pre.rc1, <7.0.0-rc3"],"patched":["6.10.5","7.0.0-rc3"],"from":["GHSA-wgx6-g857-jjf7"],"provenance":"source"},{"ecosystem":"PyPI","package":"openc3","vulnerableRanges":["<6.10.5"],"patched":["6.10.5"],"from":["PYSEC-2026-2242"],"provenance":"source"}],"summary":{"text":"The flaw is in the password change functionality of OpenC3 COSMOS, the embedded-system command and telemetry product, where the change process accepts a valid session token in place of the user's current password. An attacker who already holds a valid session token, such as one obtained through a prior compromise, can reset the account password over the network without knowing the old one, which lets them keep access to a hijacked account, including an administrator account, and lock out legitimate users; no user interaction is required, but the attacker needs an existing valid session token.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:57Z"},"euvd":{"id":"EUVD-2026-27057","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openc3-cosmos-cve-2024-43795","parents":[{"from":"CVE-2024-47529","to":"CVE-2026-42084","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-cmd-tlm-api/app/controllers/auth_controller.rb","openc3/lib/openc3/models/auth_model.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/b5ab34fe7fa54c0c8171c4aa3caf4e03d6f63bd7","https://github.com/OpenC3/cosmos/commit/2e623714e3426d5ae81b6f8239d4a2a6937ef776"],"basis":"shared function","functions":["self"]}]},{"from":"CVE-2025-28388","to":"CVE-2026-42084","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["openc3-cosmos-cmd-tlm-api/app/controllers/auth_controller.rb","openc3/lib/openc3/models/auth_model.rb"],"commits":["https://github.com/OpenC3/cosmos/commit/195974a019f375f7c5a35f48e4151babb40649ac","https://github.com/OpenC3/cosmos/commit/2e623714e3426d5ae81b6f8239d4a2a6937ef776"],"basis":"shared function","functions":["self"]}]}],"packageHistory":[{"cve":"CVE-2024-46977","published":"2024-10-02","fixed":"5.19.0","kev":false},{"cve":"CVE-2024-47529","published":"2024-10-02","fixed":"5.19.0","kev":false},{"cve":"CVE-2025-68271","published":"2026-01-13","fixed":"6.10.2","kev":false,"link":{"from":"CVE-2025-68271","to":"CVE-2026-42084","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:openc3","fromFixed":"6.10.2","toFixed":"6.10.5","daysApart":111}]}},{"cve":"CVE-2026-42084","published":"2026-05-04","fixed":"7.0.0-rc3","kev":false},{"cve":"CVE-2026-42085","published":"2026-05-04","fixed":"7.0.0-rc3","kev":false},{"cve":"CVE-2026-42087","published":"2026-05-04","fixed":"7.0.0-rc3","kev":false},{"cve":"CVE-2026-42086","published":"2026-05-04","fixed":"7.0.0","kev":false}],"package":"RubyGems:openc3"}}