GitHub Advisoryadvisory · Packagist
GHSA-j2rx-4jg9-79mw Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type
HIGH
Official page ↗
- Aliases
- CVE-2026-38991
- Ecosystem
- Packagist
- Packages
- cockpit-hq/cockpit
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-434
- Reviewed
- 2026-05-06
Affected packages
• Packagist cockpit-hq/cockpit: < 2.14.0 → fixed in 2.14.0
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.
Related
Alias · CVE (1)
- CVE-2026-38991 Cockpit 2.13.5 and earlier is affected by a misconfiguration within the Bucket component _isFileTypeAllowed function where a specially… vulnerability
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness