Skip to main content

CVE-2026-77602: CWE-94: Improper Control of Generation of Code ('Code Injection') in OpenC3 cosmos

0
Critical
VulnerabilityCVE-2026-77602cvecve-2026-77602cwe-94
Published: 09/23/2026 (09/23/2026, 18:56:16 UTC)
Source: CVE Database V5
Vendor/Project: OpenC3
Product: cosmos

Description

CVE-2026-77602 is a critical code injection vulnerability in OpenC3 cosmos versions 5.1.0 through 7.2.x. Authenticated non-administrator users can write code that is later executed with higher privileges than intended, allowing unauthorized code execution. The vulnerability arises from improper control of code generation through multiple configuration and script processing paths. This issue is fixed in version 7.3.0.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected software

OpenC3

cosmos

Affected versions
>=5.1.0 <7.3.0
GitHub Actionsmore threats →ai
openc3/cosmos
pkg:github/openc3/cosmos
Affected versions
>=5.1.0 <7.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/23/2026, 19:18:45 UTC

Technical Analysis

OpenC3 COSMOS versions from 5.1.0 up to but not including 7.3.0 allow authenticated non-administrator users to write content under targets_modified/ that is executed by various configuration and microservice components with elevated privileges. The processing involves ConfigParser, PacketConfig, GENERIC_READ_CONVERSION, GENERIC_WRITE_CONVERSION, and script execution via openc3-cosmos-script-runner-api. This improper control of code generation (CWE-94) enables code injection and execution with access to internal credentials and data. The vulnerability is resolved in version 7.3.0.

Potential Impact

Successful exploitation allows authenticated non-administrator users to execute arbitrary code with elevated privileges within the OpenC3 cosmos environment. This can lead to full compromise of the affected system, including access to internal credentials and sensitive data. The CVSS v3.1 score is 9.9 (critical), reflecting network attack vector, low attack complexity, required privileges of a non-administrator user, no user interaction, and complete confidentiality, integrity, and availability impact.

Mitigation Recommendations

Upgrade OpenC3 cosmos to version 7.3.0 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated in the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-08-20T20:48:20.507Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ab42272f7a7c5410633c3ae

Added to database: 09/23/2026, 19:03:14 UTC

Last enriched: 09/23/2026, 19:18:45 UTC

Last updated: 09/24/2026, 00:45:04 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses