NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-38991: Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type

highCVSS 3.1 8.8GHSA-j2rx-4jg9-79mw

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.

Published Apr 29, 2026 · Updated May 6, 2026

Affected packages

cockpit-hq/cockpit

Ecosystem
Composer (PHP)
Affected
< 2.14.0
Fixed in
2.14.0
Check
composer show cockpit-hq/cockpit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries