Vulnerability · Published Apr 29, 2026 · Assigned by mitre

CVE-2026-38991

High 8.8

In plain English

A high-severity unrestricted file upload in the cockpit-hq/cockpit package (Packagist). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.4%top 68.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 & fixed versions

EcosystemPackageFixed inAdvisory
Packagistcockpit-hq/cockpit2.14.0GHSA-j2rx-4jg9-79mw

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References