CVE-2025-1025 Cockpit Arbitrary File Upload

High 8.7 Published Updated

An attacker can upload malicious files by bypassing extension filters, potentially leading to remote code execution on the server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-1025?

CVE-2025-1025 is a high-severity vulnerability in cockpit-hq/cockpit, published on 5 Feb 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-434

Which versions are affected by CVE-2025-1025?

2 open source packages ship an affected version, including cockpit-hq/cockpit.

PackageAffectedFixed in
cockpit-hq/cockpit PackagistAll versions2.4.1
cockpit-hq/cockpit PackagistAll versions2.4.1

How do I fix CVE-2025-1025?

Upgrade cockpit-hq/cockpit to 2.4.1 or later.

Is CVE-2025-1025 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-1025 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-wp68-xrfg-xvq4.

Is CVE-2025-1025 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free