CVE-2026-38991
Published:April 29, 2026
Updated:May 18, 2026
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.
Affected Packages
https://github.com/Cockpit-HQ/Cockpit.git (GITHUB):
Affected version(s) >=2.0.0 <2.14.0Fix Suggestion:
Update to version 2.14.0cockpit-hq/cockpit (PHP):
Affected version(s) >=dev-wysiwyg-structered-text <2.14.0Fix Suggestion:
Update to version 2.14.0cockpit-hq/cockpit (PHP):
Affected version(s) >=2.0.0 <2.14.0Fix Suggestion:
Update to version 2.14.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Unrestricted Upload of File with Dangerous Type
EPSS
Base Score:
0.03