Skip to content
OpenAdvisories
High · 8.8 CVE-2026-38991 EUVD-2026-26242GHSA-j2rx-4jg9-79mw

Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type

Published Apr 29, 2026 · Updated Apr 29, 2026 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist cockpit-hq/cockpit < 2.14.0 2.14.0 GHSA-j2rx-4jg9-79mw

References