CVE-2026-38991
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CISA ADP · CWE-434
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
cockpit-hq/cockpit (Packagist)
- < 2.14.0
Fixed in 2.14.0
from GitHub Security Advisory GHSA-j2rx-4jg9-79mw
Mitigation
Upgrade cockpit-hq/cockpit to 2.14.0 or later.
References
- Release notes github.com/Cockpit-HQ/Cockpit/releases/tag/2.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.