CVE-2026-38991
HIGH 8.8CVSS 3.1Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type
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.
- Published
- 29 Apr 2026
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-434
- Also known as
- GHSA-j2rx-4jg9-79mw
- Sources
- NVDJSONOSV GHSA-j2rx-4jg9-79mwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | cockpit-hq/cockpit | < 2.14.0 | 2.14.0 |
References
- https://felsec.com/posts/cockpit-cms-2.13.5-multi-vulns/ · WEB
- https://github.com/Cockpit-HQ/Cockpit/releases/tag/2.14.0 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-38991 · ADVISORY
- https://github.com/Cockpit-HQ/Cockpit · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 29 Apr 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 29 Apr 2026)