RubySec

Providing security resources for the Ruby community

CVE-2026-77601 (openc3): OpenC3 COSMOS - Authenticated OS command injection via the `pypi_url` setting

OpenC3 COSMOS - Authenticated OS command injection via the `pypi_url` setting

Published: July 11, 2026

SECURITY IDENTIFIERS

GEM

openc3

SEVERITY

CVSS v3.x: 8.8 (High)

UNAFFECTED VERSIONS

< 5.12.0

PATCHED VERSIONS

>= 7.2.1

DESCRIPTION

Summary

An authenticated user can execute arbitrary operating system commands on the openc3-cosmos-cmd-tlm-api service. The pypi_url setting is interpolated, unescaped, into a command line that is run through a shell backtick when a plugin is installed. Shell metacharacters in the setting value are executed by /bin/sh.

Impact

Arbitrary OS command execution as the openc3 user (uid 1001) inside the cmd-tlm-api container. That process holds the Redis/Valkey password and the bucket (S3) credentials and operates across every scope, so command execution there exposes stored telemetry, commanding, and credentials, and allows tampering with any scope.

In the Enterprise edition the prerequisite is the admin role; the admin already has plugin-driven code execution by design, so the practical effect there is that a configuration value becomes a shell command rather than a new privilege boundary being crossed. In the open-source edition any authenticated user reaches it.

RELATED