GitHub Advisory Database
GHSA-wp68-xrfg-xvq4
Cockpit Arbitrary File Upload
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | cockpit-hq/cockpit | All versions before 2.4.1 (fixed in 2.4.1) |
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://github.com/Cockpit-HQ/Cockpit
- https://security.snyk.io/vuln/SNYK-PHP-COCKPITHQCOCKPIT-8516320