Critical Security Flaw in Cockpit Packages: Arbitrary Command Execution Vulnerability

cockpit Updated 04 Jun 2026

Summary

28/05/2026
N/A
Yes i
Unrated
Not published

ALSA-2026:21700: Important: cockpit security update. Affects cockpit versions < 310.8-1.el8_10. Fixed in 310.8-1.el8_10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Cockpit is a web-based interface that allows users to manage GNU/Linux servers through a browser. It provides functionalities such as network configuration, log inspection, diagnostic reports, and interactive command-line sessions. This makes it a vital tool for system administrators, but it also exposes potential security risks if vulnerabilities are present.

Vulnerability Detail

The vulnerability identified as CVE-2026-4802 allows for arbitrary command execution via crafted links in system logs. This means that an attacker could potentially execute unauthorized commands on the server by exploiting this flaw, leading to severe security breaches and unauthorized access to sensitive data.

How To Fix

Minimum fixed version

310.8-1.el8_10

This is the first release that contains the fix.

sudo dnf update cockpit

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, you can restrict access to the Cockpit interface or monitor logs for suspicious activity until the packages are updated. Additionally, ensure that only trusted users have access to the server's web interface.

Conclusion

The Cockpit security vulnerability CVE-2026-4802 poses a significant risk by allowing arbitrary command execution. It is crucial to update the affected packages to the fixed version 310.8-1.el8_10 to mitigate this risk. Regular monitoring and prompt updates are essential for maintaining system security.

See every vulnerability recorded for cockpit →

Share this vulnerability

FAQ

CVE-2026-4802 is a security vulnerability in Cockpit that allows arbitrary command execution through crafted links in system logs.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The risks include unauthorized command execution, potential data breaches, and loss of system integrity, which can lead to severe consequences for system security.

It is recommended to regularly check for updates and apply them promptly to ensure that your system is protected against known vulnerabilities.

If immediate updates are not possible, implement strict access controls and monitor for any unusual activity in your system logs.

Related vulnerabilities

Recent vulnerabilities recorded for cockpit.

How To Fix

Minimum fixed version

310.8-1.el8_10

This is the first release that contains the fix.

sudo dnf update cockpit

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback