Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type
High severity
GitHub Reviewed
Published
Apr 29, 2026
to the GitHub Advisory Database
•
Updated May 6, 2026
Description
Published by the National Vulnerability Database
Apr 29, 2026
Published to the GitHub Advisory Database
Apr 29, 2026
Reviewed
May 6, 2026
Last updated
May 6, 2026
Cockpit versions 2.13.5 and earlier are 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.
References