CVE-2026-38991Published Apr 29, 2026 · Apr 29Updated Oct 28
Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| cockpit-hq/cockpit Packagist |
|
|
Original 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.
From the CVE record · mitre