Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. cockpit-hq/cockpit
  4. ›
  5. CVE-2025-1025

CVE-2025-1025: Cockpit Arbitrary File Upload

February 5, 2025

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

  • gist.github.com/CHOOCS/fe1227443544d5d74c33982814f290af
  • github.com/Cockpit-HQ/Cockpit
  • github.com/Cockpit-HQ/Cockpit/commit/984ef9ad270357b843af63c81db95178eae42cae
  • github.com/Cockpit-HQ/Cockpit/commit/becca806c7071ecc732521bb5ad0bb9c64299592
  • github.com/advisories/GHSA-wp68-xrfg-xvq4
  • nvd.nist.gov/vuln/detail/CVE-2025-1025
  • security.snyk.io/vuln/SNYK-PHP-COCKPITHQCOCKPIT-8516320

Code Behaviors & Features

Detect and mitigate CVE-2025-1025 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.4.1

Fixed versions

  • 2.4.1

Solution

Upgrade to version 2.4.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

packagist/cockpit-hq/cockpit/CVE-2025-1025.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:11 +0000.