CVE-2026-42088·Docker vulnerability
OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to version 7.0.0-rc3, the Script Runner widget allows users to execute Python and Ruby scripts directly from the openc3-COSMOS-script-runner-api container. Because all the docker containers share a network, users can execute specially crafted scripts to bypass the API permissions check and perform administrative actions, including reading and modifying data inside the Redis database, which can be used to read secrets and change COSMOS settings, as well as read and write to the buckets service, which holds configuration, log, and plugin files. These actions are normally only available from the Admin Console or with administrative privileges. Any user with permission to create and run scripts can connect to any service in the docker network. This issue has been patched in version 7.0.0-rc3.
- Severity
- critical
- Software
- Docker
- Fixed in
- 7.0.0
- Published
- 2026-05-04
Affected versions
Until: 7.0.0
Fixed in: 7.0.0
How to fix this CVE
Upgrade Docker to version 7.0.0 or later to patch the Script Runner privilege escalation vulnerability that allows unauthorized network access to backend services. Users running OpenC3 COSMOS should prioritize this update as any script creator can now bypass API permissions and access sensitive systems like Redis and bucket storage. Apply the update immediately across all Docker hosts running affected versions.
sudo dnf update docker-ceDefensia detects this vulnerability
How to check if you are affected
- Check Docker version: docker --version — verify it shows 7.0.0 or higher
- Confirm OpenC3 COSMOS image version: docker images | grep cosmos — ensure image tags reference version 7.0.0-rc3 or later
- Review Script Runner container logs for suspicious script execution: docker logs <script-runner-container-id> | grep -i 'redis\|bucket\|administrative'
- Verify fixed version is running: docker inspect <container-id> | grep -i 'version\|image' and confirm it reflects the patched release
FAQ
What is CVE-2026-42088?
CVE-2026-42088 is a critical privilege escalation vulnerability in Docker/OpenC3 COSMOS where the Script Runner widget fails to enforce API permission boundaries. This allows any user with script execution privileges to connect directly to backend services (Redis, bucket storage) on the shared container network and perform administrative actions like reading secrets and modifying configuration files.
Is CVE-2026-42088 being actively exploited?
No, CVE-2026-42088 is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, the low attack complexity and network accessibility make it a high-priority target for future exploitation.
What versions of Docker are affected by CVE-2026-42088?
All Docker versions prior to 7.0.0 are affected. The vulnerability was introduced in earlier releases and is patched starting with version 7.0.0 and release candidate 7.0.0-rc3.
How do I check if my server is vulnerable to CVE-2026-42088?
Run `docker --version` and compare the output to 7.0.0. If your version is lower, you are vulnerable. Additionally, check `docker images | grep cosmos` to verify OpenC3 COSMOS component versions are below 7.0.0.
Does Defensia detect CVE-2026-42088?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2026-42088 will appear in your dashboard with remediation steps.
Related Docker CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-42088. Free for 1 server.
Get started free