Skip to main content

CVE-2025-68271 — Vulnerability in openc3 — CVE Details

CRITICAL

openc3-api Vulnerable to Unauthenticated Remote Code Execution

Published January 13, 2026Updated February 3, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.19%). Schedule for your next planned update.

Does your project use an affected openc3 version?

Paste your Gemfile.lock to check it for CVE-2025-68271 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.

Check my Gemfile.lock

Summary

Summary

OpenC3 COSMOS contains a critical remote code execution vulnerability reachable through the JSON-RPC API. When a JSON-RPC request uses the string form of certain APIs, attacker-controlled parameter text is parsed into values using String#convert_to_value. For array-like inputs, convert_to_value executes eval().

Because the cmd code path parses the command string before calling authorize(), an unauthenticated attacker can trigger Ruby code execution even though the request ultimately fails authorization (401).

Advisory Timeline

  • First published January 13, 2026 (317 days ago).
  • Last revised February 3, 2026 — 20 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update openc3 to 6.10.2 or later
gem install openc3 -v 6.10.2

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: RubyGems (1).

PackageFixed In
openc3 RubyGems · Affected: 5.0.10, 5.0.11, 5.0.6, 5.0.7 (+66 more)6.10.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

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

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-68271?
openc3-api Vulnerable to Unauthenticated Remote Code Execution. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2025-68271?
CVE-2025-68271 affects openc3. It has a 1.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-68271 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.19%
EPSS percentile: 67.9

This is an above-median EPSS score — 67.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-w757-4qv9-mghp

Related CVEs

  • CVE-2026-42088
    CRITICAL

    OpenC3 COSMOS: Permissions Bypass Provides User Access to Unassigned Administrative Actions via Script Runner Tool

  • CVE-2026-77602
    CRITICAL

    OpenC3 COSMOS: Authenticated remote code execution via the user-writable config overlay (table definitions, cmd/tlm definitions, and script suites)

  • CVE-2026-42087
    CRITICAL

    OpenC3 COSMOS has SQL Injection in QuestDB Time-Series Database

  • CVE-2024-46977
    HIGH

    OpenC3 Path Traversal via screen controller (`GHSL-2024-127`)

  • CVE-2026-42085
    MEDIUM

    OpenC3 COSMOS allows arbitrary writes to plugins directory via path-traversed config filenames

  • CVE-2024-47529
    MEDIUM

    OpenC3 stores passwords in clear text (`GHSL-2024-129`)

  • CVE-2026-42086
    MEDIUM

    OpenC3 COSMOS is Vulnerable to Self-XSS Through the Command Sender

  • CVE-2024-43795
    MEDIUM

    OpenC3 Cross-site Scripting in Login functionality (`GHSL-2024-128`)

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock