CVE-2026-38991

high

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.

References

https://github.com/Cockpit-HQ/Cockpit/releases/tag/2.14.0

https://felsec.com/posts/cockpit-cms-2.13.5-multi-vulns/

Details

Source: Mitre, NVD

Published: 2026-04-29

Updated: 2026-04-29

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High