CVE-2026-38991 Details
Description
Cockpit 2.13.5 and earlier is affected by a misconfiguration within the Bucket component _isFileTypeAllowed function where a specially crafted filename bypasses an extension filter. This allows an authenticated attacker to rename arbitrary files with the .php file extension enabling arbitrary code to be executed on the underlying server.
A vulnerability exists in Cockpit CMS versions through 2.13.5, specifically within the Buckets component. The issue arises in the file type validation process, where the extension filter can be bypassed by appending certain characters to the filename. This flaw allows an authenticated attacker to rename files with a .php extension, facilitating the execution of arbitrary code on the server.
Users are advised to update Cockpit CMS to version 2.14.0, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 29, 2026CISA-ADP
Assessed Apr 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://felsec.com/posts/cockpit-cms-2.13.5-multi-vulns/ | CISA-ADP | BundleExploitRemedyTechnical Analysis |
| https://felsec.com/posts/cockpit-cms-2.13.5-multi-vulns/ | [email protected] | BundleExploitRemedyTechnical Analysis |
| https://github.com/Cockpit-HQ/Cockpit/releases/tag/2.14.0 | [email protected] | Release NotesVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Cockpit CMS | <= 2.13.5 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | New CVE Received | [email protected] |
Volerion