# CVE-2025-1025: Cockpit Arbitrary File Upload

- Severity: High 8.7 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 20.5%, higher than 97% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-02-05T05:00:16.269Z
- Modified: 2026-08-03T15:25:34.319Z
- Also known as: GHSA-wp68-xrfg-xvq4
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- cockpit-hq/cockpit: before 2.4.1
- cockpit-hq/cockpit (Packagist): before 2.4.1

## Every score

- snyk: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P`
- snyk: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://gist.github.com/CHOOCS/fe1227443544d5d74c33982814f290af> (exploit, web)
- <https://security.snyk.io/vuln/SNYK-PHP-COCKPITHQCOCKPIT-8516320> (web)
- <https://github.com/Cockpit-HQ/Cockpit/commit/becca806c7071ecc732521bb5ad0bb9c64299592> (web)
- <https://github.com/Cockpit-HQ/Cockpit/commit/984ef9ad270357b843af63c81db95178eae42cae> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1025> (advisory)
- <https://github.com/Cockpit-HQ/Cockpit> (package)

## Sources

- CVE List: [CVE-2025-1025](https://www.cve.org/CVERecord?id=CVE-2025-1025), CVE Terms of Use, modified 2026-08-03
- GitHub Advisory Database: [GHSA-wp68-xrfg-xvq4](https://github.com/advisories/GHSA-wp68-xrfg-xvq4), CC-BY-4.0, modified 2025-02-05
- NVD: [CVE-2025-1025](https://nvd.nist.gov/vuln/detail/CVE-2025-1025), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1025 · Whole record: https://cve.day/CVE-2025-1025.json · Rebuilt by cve.day 2026-11-25T22:58:53.796Z
