CVE-2026-38991
HIGH8.8EPSS 0.03%Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type
Published: 4/29/2026Modified: 5/6/2026
Also known as:GHSA-j2rx-4jg9-79mw
Description
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.
Affected packages (1)
- Packagist/cockpit-hq/cockpitfrom 0, < 2.14.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |