Unrestricted Upload of File with Dangerous Type
CVE-2026-38991
Summary
Cockpit versions through 2.13.5 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.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- LOW
- HIGH
- HIGH
CWE-434 - Unrestricted Upload of File with dangerous type
'Unrestricted file upload with dangerous type' attacks involve an attacker uploading or transferring files of dangerous types to the server. The severity of such an attack depends upon the execution mechanism and the storage location of the uploaded file. Thus, it may range from simple defacement to arbitrary file execution, and complete system takeover.
References
Advisory Timeline
- Published