CVE-2026-38991
JSON

8.8high

Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.46% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-j2rx-4jg9-79mw

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

Product or packageVersionsReported by
Unspecified productn/aCVE List
cockpit-hq/cockpit (Packagist)before 2.14.0GitHub Advisory Database

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-434

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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

Sources

SourceRecordLicence
CVE ListCVE-2026-38991 changed 2026-04-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-j2rx-4jg9-79mw changed 2026-05-06CC-BY-4.0
NVDCVE-2026-38991 changed 2026-06-17Public domain