Skip to content

← Public intelligence

Packagist package

cockpit-hq/cockpit

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

17 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.5PackagistPublished

    Cockpit is vulnerable to directory traversal

    CVE-2026-38993 · GHSA-p46p-7pmj-m34f

    Affected
    • Packagist cockpit-hq/cockpit < 2.14.0
    Fixed in
    2.14.0· Vendor fix available
    Issue
    Cockpit 2.13.5 and earlier is vulnerable to directory traversal via the Buckets component. This vulnerability allows authenticated attackers to write files to arbitrary locations within the uploads directory or overwrite assets with malicious versions.

    Recommended action: Upgrade to 2.14.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 8.8PackagistPublished

    Cockpit Vulnerable to Unrestricted Upload of File with Dangerous Type

    CVE-2026-38991 · GHSA-j2rx-4jg9-79mw

    Affected
    • Packagist cockpit-hq/cockpit < 2.14.0
    Fixed in
    2.14.0· Vendor fix available
    Issue
    Cockpit versions 2.13.5 and earlier are affected by a misconfiguration within the Bucket component isFileTypeAllowed function where a specially crafted filename bypasses an extension filter. This allows an authenticated attacker to rename arbitrary files with the .php file extension enabling arbitrary code to be executed on the underlying server.

    Recommended action: Upgrade to 2.14.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Critical, CVSS 9.8PackagistPublished

    Cockpit is vulnerable to arbitrary code execution

    CVE-2026-38992 · GHSA-fm6c-rhcf-7439

    Affected
    • Packagist cockpit-hq/cockpit < 2.14.0
    Fixed in
    2.14.0· Vendor fix available
    Issue
    Cockpit versions 2.13.5 and earlier are vulnerable to arbitrary code execution via the filter parameter within multiple endpoints. This vulnerability allows an attacker to run system commands on the underlying infrastructure via the MongoLite $func operator.

    Recommended action: Upgrade to 2.14.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Low, CVSS 2.1PackagistPublished

    Cockpit has NoSQL Injection Through Content Aggregation Pipelines

    CVE-2026-6626 · GHSA-5pv2-86qj-5jf9

    Affected
    • Packagist cockpit-hq/cockpit < 2.14.0
    Fixed in
    2.14.0· Vendor fix available
    Issue
    A vulnerability was detected in Cockpit-HQ Cockpit up to 2.13.5. Affected by this issue is some unknown functionality of the component Asset Handler/Aggregate Handler. The manipulation results in improper neutralization of special elements in data query logic. It is possible to launch the attack remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

    Recommended action: Upgrade to 2.14.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 7.7PackagistPublished

    Cockpit CMS has SQL Injection in MongoLite Aggregation Optimizer via toJsonExtractRaw()

    CVE-2026-31891 · GHSA-7x5c-vfhj-9628

    Affected
    • Packagist cockpit-hq/cockpit < 2.13.5
    Fixed in
    2.13.5· Vendor fix available
    Issue
    Impact This is a SQL Injection vulnerability in the MongoLite Aggregation Optimizer. Any Cockpit CMS instance running version 2.13.4 or earlier with API access enabled is potentially affected. Who is impacted: - Any deployment where the /api/content/aggregate/{model} endpoint is publicly accessible or reachable by untrusted users. - Attackers in possession of a valid read-only API key (the lowest privilege level) can exploit this vulnerability — no admin access is required. What an attacker can do: - Inject arbitrary SQL via unsanitized field names in aggregation queries. - Bypass the state=1 published-content filter to access unpublished or restricted content. - Extract unauthorized data from the underlying SQLite content database. Confidentiality impact is High. Integrity and availability are not directly affected by this vulnerability. Patches This vulnerability has been patched in version 2.13.5. All users running Cockpit CMS version 2.13.4 or earlier are strongly advised to…

    Recommended action: Upgrade to 2.13.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 5.1PackagistPublished

    Cockpit - Content Platform vulnerable to XSS through name or email argument names

    CVE-2025-7053 · GHSA-j4rj-fgcq-wmqp

    Affected
    • Packagist cockpit-hq/cockpit < 2.11.4
    Fixed in
    2.11.4· Vendor fix available
    Issue
    A vulnerability was found in Cockpit versions up to 2.11.3. This issue affects some unknown processing instances of the file /system/users/save. The manipulation of the arguments "name" or "email" leads to cross-site scripting. The attack may be initiated remotely. Upgrading to version 2.11.4 will address this issue. It is recommended to upgrade the affected component. The vendor was contacted early about this disclosure and acted accordingly. A patch and new release were made available very quickly.

    Recommended action: Upgrade to 2.11.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. High, CVSS 7.7PackagistPublished

    Cockpit Arbitrary File Upload

    CVE-2025-1025 · GHSA-wp68-xrfg-xvq4

    Affected
    • Packagist cockpit-hq/cockpit < 2.4.1
    Fixed in
    2.4.1· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 2.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. Critical, CVSS 9.8PackagistPublished

    Cockpit CMS contains an arbitrary file upload vulenrability

    CVE-2024-4825 · GHSA-vpj8-xfqc-jcv9

    Affected
    • Packagist cockpit-hq/cockpit < 2.7.0
    Fixed in
    2.7.0· Vendor fix available
    Issue
    A vulnerability has been discovered in Agentejo Cockpit CMS v0.5.5 that consists in an arbitrary file upload in ‘/media/api’ parameter via post request. An attacker could upload files to the server, compromising the entire infrastructure.

    Recommended action: Upgrade to 2.7.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Medium, CVSS 6.8PackagistPublished

    Cockpit Cross-site Scripting vulnerability

    CVE-2023-4422 · GHSA-8m65-qq6g-43rr

    Affected
    • Packagist cockpit-hq/cockpit < 2.6.3
    Fixed in
    2.6.3· Vendor fix available
    Issue
    Cross-site Scripting (XSS) - Stored in GitHub repository cockpit-hq/cockpit prior to 2.6.3.

    Recommended action: Upgrade to 2.6.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. Critical, CVSS 9.9PackagistPublished

    Cockpit PHP Remote File Inclusion vulnerability

    CVE-2023-4195 · GHSA-xcq3-7pf3-5jvc

    Affected
    • Packagist cockpit-hq/cockpit < 2.6.3
    Fixed in
    2.6.3· Vendor fix available
    Issue
    PHP Remote File Inclusion in GitHub repository cockpit-hq/cockpit prior to 2.6.3. Users may upload php files through the system file upload utility to obtain remote code execution.

    Recommended action: Upgrade to 2.6.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. High, CVSS 8.3PackagistPublished

    Cockpit Cross-site Scripting vulnerability

    CVE-2023-4196 · GHSA-w3qm-93vf-5hrw

    Affected
    • Packagist cockpit-hq/cockpit < 2.6.3
    Fixed in
    2.6.3· Vendor fix available
    Issue
    Cross-site Scripting (XSS) - Stored in GitHub repository cockpit-hq/cockpit prior to 2.6.3. For any role that has permission to execute function assets, an attacker can upload a html file and that leads to XSS.

    Recommended action: Upgrade to 2.6.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. High, CVSS 7.5PackagistPublished

    Cockpit CMS vulnerable to incorrect access control

    CVE-2023-37649 · GHSA-9r25-4j77-9wc7

    Affected
    • Packagist cockpit-hq/cockpit < 2.6.0
    Fixed in
    2.6.0· Vendor fix available
    Issue
    Incorrect access control in the component /models/Content of Cockpit CMS v2.5.2 allows unauthorized attackers to access sensitive data.

    Recommended action: Upgrade to 2.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. High, CVSS 8.8PackagistPublished

    Cockpit CMS Cross-Site Request Forgery vulnerability

    CVE-2023-37650 · GHSA-45g2-r339-pjwf

    Affected
    • Packagist cockpit-hq/cockpit < 2.6.0
    Fixed in
    2.6.0· Vendor fix available
    Issue
    A Cross-Site Request Forgery (CSRF) in the Admin portal of Cockpit CMS v2.5.2 allows attackers to execute arbitrary Administrator commands.

    Recommended action: Upgrade to 2.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. High, CVSS 8.8PackagistPublished

    cockpit-hq/cockpit is vulnerable to unrestricted file uploads

    CVE-2023-1313 · GHSA-6x8f-x6qw-qwx3

    Affected
    • Packagist cockpit-hq/cockpit < 2.4.1
    Fixed in
    2.4.1· Vendor fix available
    Issue
    Unrestricted Upload of File with Dangerous Type in GitHub repository cockpit-hq/cockpit prior to 2.4.1.

    Recommended action: Upgrade to 2.4.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  15. Medium, CVSS 5.4PackagistPublished

    Improper Restriction of Rendered UI Layers or Frames in cockpit-hq/cockpit

    CVE-2023-0780 · GHSA-gm7m-rqf8-jx4m

    Affected
    • Packagist cockpit-hq/cockpit < 2.3.9
    Fixed in
    2.3.9· Vendor fix available
    Issue
    Improper Restriction of Rendered UI Layers or Frames in GitHub repository cockpit-hq/cockpit prior to 2.3.9.

    Recommended action: Upgrade to 2.3.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  16. High, CVSS 8.8PackagistPublished

    privilege chaining in cockpit-hq/cockpit

    CVE-2023-0759 · GHSA-86rf-38v8-9c4x

    Affected
    • Packagist cockpit-hq/cockpit < 2.3.8
    Fixed in
    2.3.8· Vendor fix available
    Issue
    Privilege Chaining in GitHub repository cockpit-hq/cockpit prior to 2.3.8.

    Recommended action: Upgrade to 2.3.8 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  17. High, CVSS 8.8PackagistPublished

    Cockpit Content Platform vulnerable to 2FA bypass

    CVE-2022-2818 · GHSA-8wj3-cpmr-8whp

    Affected
    • Packagist cockpit-hq/cockpit <= 2.2.1
    Fixed in
    2.2.2· Vendor fix available
    Issue
    Cockpit Content Platform through version 2.2.1 is vulnerable to a two-factor authentication (2FA) bypass. The 2FA secret is disclosed in a JWT token after user logs into their account, allowing an attacker to bypass the 2FA code. A patch is available on the develop branch and is expected to be part of version 2.2.2.

    Recommended action: Upgrade to 2.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →