CVE-2026-38993: Cockpit Package Directory Traversal Vulnerability

cockpit-hq/cockpit Updated 07 May 2026

Summary

29/04/2026
Yes i
Moderate
6.5

CVE-2026-38993: Cockpit is vulnerable to directory traversal. Affects cockpit-hq/cockpit versions < 2.14.0. Fixed in 2.14.0. 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 an open-source web-based server management tool designed to simplify the administration of servers. It provides a user-friendly interface for managing system services, storage, networking, and more. The application is widely used for its ease of use and powerful features, but it is vulnerable to a directory traversal issue in versions 2.13.5 and earlier, which could allow unauthorized file access and manipulation.

Vulnerability Detail

The vulnerability arises from the Buckets component of Cockpit, which is susceptible to directory traversal attacks. Authenticated attackers can exploit this flaw to write files to arbitrary locations within the uploads directory or overwrite existing assets with malicious versions. This could lead to unauthorized access to sensitive data or the execution of malicious code, posing a significant risk to the integrity and security of the affected systems.

How To Fix

Minimum fixed version

2.14.0

This is the first release that contains the fix.

composer require cockpit-hq/cockpit:2.14.0

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

Workaround

As a temporary workaround, you can restrict access to the uploads directory and implement strict validation on file uploads to prevent unauthorized file manipulation. However, this is not a substitute for applying the official patch.

Conclusion

The directory traversal vulnerability in Cockpit versions 2.13.5 and earlier poses a significant risk to system security. It is crucial to update to version 2.14.0 or later to protect against potential exploitation. Additionally, utilizing tools like Vulert can help monitor and manage vulnerabilities in your open-source dependencies effectively.

See every vulnerability recorded for cockpit-hq/cockpit →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.5, indicating a moderate severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability could lead to unauthorized file access, data manipulation, and potential execution of malicious code, compromising system integrity.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software by analyzing the composer.lock file.

If an immediate update is not possible, implement strict access controls and file validation as a temporary measure to mitigate the risk until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for cockpit-hq/cockpit.

How To Fix

Minimum fixed version

2.14.0

This is the first release that contains the fix.

composer require cockpit-hq/cockpit:2.14.0

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