Skip to main content

Cosmos CVE-2025-28386

| EUVDEUVD-2025-18270 CRITICAL
Code Injection (CWE-94)
2025-06-13 cve@mitre.org
9.8
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents CRITICAL real-world risk across multiple threat dimensions. The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) indicates Network attack vector with Low complexity, No privilege requirements, and No user interaction—this is the most dangerous profile possible. The vulnerability is unauthenticated and requires minimal attacker effort, making it immediately and widely exploitable. While specific EPSS and KEV (CISA Known Exploited Vulnerabilities) status data was not provided, the technical characteristics suggest high exploitation likelihood: the attack surface is large (network-accessible), the barrier to exploitation is low (file upload), and the impact is total system compromise. Organizations running OpenC3 COSMOS v6.0.0 should treat this as a P0/Critical priority requiring immediate patching. The vulnerability is not a 'high-CVSS-but-low-real-risk' issue; all signals align to indicate genuine, immediate, and severe threat.

Exploit ScenarioDerived

An attacker identifies a publicly exposed OpenC3 COSMOS v6.0.0 instance running the Plugin Management interface. The attacker crafts a malicious .txt file containing Python, shell commands, or other executable code (e.g., reverse shell payload). The attacker navigates to the plugin upload interface and uploads the crafted .txt file without authentication. The Plugin Management system processes the .txt file content and executes the embedded code with the privileges of the COSMOS application process. The attacker gains remote code execution on the target system, allowing them to read sensitive operational technology data, modify control systems, establish persistence, or pivot to connected infrastructure. Due to the AV:N/AC:L/PR:N/UI:N characteristics, this attack requires no special reconnaissance and can be automated for mass exploitation of vulnerable instances.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
No patch listed yet 1.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

Critical remote code execution vulnerability in OpenC3 COSMOS v6.0.0's Plugin Management component that allows unauthenticated attackers to execute arbitrary code by uploading a specially crafted .txt file. The vulnerability has a CVSS score of 9.8 (critical severity) with no authentication or user interaction required, making it trivially exploitable over the network. Given the high CVSS score and attack surface (public-facing plugin management interfaces), this vulnerability poses an immediate threat to all deployed instances of the affected version.

Affected VersionsENISA

n/a n/a

Affected Packages

pypi openc3 no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in OpenC3 COSMOS's Plugin Management system (CPE: cpe:2.3:a:openc3:cosmos:6.0.0:*:*:*:*:*:*:*), which is a common operational technology (OT) and IT management platform. The root cause is classified under CWE-94 (Improper Control of Generation of Code - Code Injection), indicating that the plugin upload mechanism fails to properly sanitize or validate .txt file inputs before processing them. This likely stems from inadequate input validation in the file upload handler, where crafted .txt files containing executable code or commands are processed without sufficient security controls. The plugin management component likely uses an interpreter or code execution mechanism that blindly processes uploaded file contents, treating user-supplied data as trusted instructions rather than validating file structure and content.

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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
PoC Detected
Jun 23, 2025 - 14:06 vuln.today
Public exploit code
CVE Published
Jun 13, 2025 - 14:15 nvd
CRITICAL 9.8

DescriptionCVE.org

A remote code execution (RCE) vulnerability in the Plugin Management component of OpenC3 COSMOS v6.0.0 allows attackers to execute arbitrary code via uploading a crafted .txt file.

Executive ViewAI

Why It Matters

A critical remote code execution vulnerability (CVE-2025-28386) in OpenC3 COSMOS v6.0.0 allows unauthenticated attackers to execute arbitrary code by uploading malicious files, potentially compromising systems and sensitive data. Organizations running this version face immediate risk of unauthorized system access, data theft, and operational disruption, especially given the public availability of working exploits.

Recommended Action

Within 24 hours: Immediately disable the Plugin Management upload feature if operationally feasible, restrict network access to OpenC3 COSMOS instances to trusted networks only, and implement enhanced monitoring for suspicious file uploads. Within 7 days: Conduct a forensic audit of Plugin Management logs and file uploads to detect compromise; isolate affected systems if exploitation is confirmed. Within 30 days: Identify all systems running OpenC3 COSMOS v6.0.0, plan an upgrade to a patched version when available, and implement a compensating control architecture (see below) if upgrading cannot be completed.

Business Impact: Severe
Compensating Controls

Implement network segmentation to restrict access to OpenC3 COSMOS instances to authorized networks only; deploy Web Application Firewall (WAF) rules to block file uploads to the Plugin Management endpoint; disable the Plugin Management upload feature entirely if not mission-critical; enforce strict authentication and authorization controls; enable detailed logging and real-time alerting on file upload activities; run OpenC3 COSMOS in a sandboxed container environment with minimal privileges; conduct continuous vulnerability scanning. Do not rely on compensating controls as a long-term solution—patch availability monitoring is critical.

Threat Intelligence Overview

EPSS Score
1.5%
Top 19% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 1.5%
Patch available No
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

71
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Cosmos

View all
CVE-2025-28388 CRITICAL POC
9.8 Jun 13

OpenC3 COSMOS versions before v6.0.2 contain hardcoded credentials embedded in the Service Account, allowing unauthentic

CVE-2025-28389 CRITICAL POC
9.8 Jun 13

Critical authentication bypass vulnerability in OpenC3 COSMOS v6.0.0 caused by weak password requirements that enable br

CVE-2025-28384 CRITICAL POC
9.1 Jun 13

Critical directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 affecting the /script-api/scripts/ end

CVE-2025-28382 HIGH POC
7.5 Jun 13

Directory traversal vulnerability in OpenC3 COSMOS versions before 6.1.0 that allows unauthenticated remote attackers to

CVE-2025-28381 HIGH POC
7.5 Jun 13

A security vulnerability in OpenC3 COSMOS (CVSS 7.5) that allows attackers. Risk factors: public PoC available.

CVE-2025-28380 MEDIUM POC
6.1 Jun 13

A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2 allows attackers to execute arbitrary web scri

CVE-2026-42088 CRITICAL
9.6 May 04

Privilege escalation in OpenC3 COSMOS allows low-privileged authenticated users to bypass API authorization and perform

CVE-2026-42087 CRITICAL
9.6 May 04

SQL injection in OpenC3 COSMOS 6.7.0 to 7.0.0-rc2 allows authenticated users with minimal 'tlm' (telemetry viewer) privi

CVE-2026-77601 HIGH POC
8.8 Sep 23

Authenticated OS command injection in OpenC3 COSMOS 5.12.0 through 7.2.1 allows a user with a valid session to run arbit

CVE-2024-47529 MEDIUM POC
4.8 Oct 02

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems.

CVE-2026-42084 HIGH
8.1 May 04

OpenC3 COSMOS password change functionality accepts valid session tokens in lieu of current passwords, enabling attacker

CVE-2026-77394 HIGH POC
7.6 Sep 23

OpenC3 COSMOS versions 5.0.6 through 7.2.x contain a stored cross-site scripting flaw in the shared-screen BUTTON widget

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy