CVE-2025-1025: Cockpit Arbitrary File Upload
Versions of the package cockpit-hq/cockpit before 2.4.1 are vulnerable to Arbitrary File Upload where an attacker can use different extension to bypass the upload filter.
Published Feb 5, 2025
Affected packages
cockpit-hq/cockpit
- Ecosystem
- Composer (PHP)
- Affected
- < 2.4.1
- Fixed in
- 2.4.1
- Check
composer show cockpit-hq/cockpit
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Versions of the package cockpit-hq/cockpit before 2.4.1 are vulnerable to Arbitrary File Upload where an attacker can use different extension to bypass the upload filter.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1025
- https://github.com/Cockpit-HQ/Cockpit/commit/984ef9ad270357b843af63c81db95178eae42cae
- https://github.com/Cockpit-HQ/Cockpit/commit/becca806c7071ecc732521bb5ad0bb9c64299592
- https://gist.github.com/CHOOCS/fe1227443544d5d74c33982814f290af
- https://security.snyk.io/vuln/SNYK-PHP-COCKPITHQCOCKPIT-8516320
- https://github.com/advisories/GHSA-wp68-xrfg-xvq4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-23695
Cockpit CMS: Stored cross-site scripting vulnerability in the Set field type's Display template option
medium5.4No fixMay 15, 2026CVE-2026-38991
Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type
high8.8Apr 29, 2026CVE-2026-38992
Cockpit is vulnerable to arbitrary code execution
critical9.8Apr 29, 2026CVE-2026-38993
Cockpit is vulnerable to directory traversal
medium6.5Apr 29, 2026CVE-2026-6626
Cockpit has NoSQL Injection Through Content Aggregation Pipelines
low6.3Apr 20, 2026CVE-2026-31891
Cockpit CMS has SQL Injection in MongoLite Aggregation Optimizer via toJsonExtractRaw()
high7.7Mar 17, 2026
