Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2026-38991

Cockpit 2.13.5 and earlier is 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-38991
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:11 UTC · Revision 1

Source evidence

CVE-2026-38991

core-osv · Original source

Published 29 Apr 2026, 00:00 UTC

Cockpit 2.13.5 and earlier is 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.

osv:CVE-2026-38991
Complete source record
{
  "id": "37a7d0d4ec73c2767c787470cd9e099fb2a11a03b55730b46c0352aaf52f7f6e",
  "url": "https://osv.dev/vulnerability/CVE-2026-38991",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-38991",
    "summary": "Cockpit 2.13.5 and earlier is 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.",
    "evidence": "osv:CVE-2026-38991",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-38991",
      "aliases": [
        "CVE-2026-38991",
        "GHSA-j2rx-4jg9-79mw"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cockpit-hq/cockpit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "dde2d1d74f5f4e11de42a298918ea8c9684f932c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.13.5"
                      }
                    ],
                    "source": "DESCRIPTION"
                  },
                  {
                    "range": [
                      {
                        "fixed": "dde2d1d74f5f4e11de42a298918ea8c9684f932c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.14.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.13.5",
            "2.13.4",
            "2.13.3",
            "2.13.2",
            "2.13.1",
            "2.13.0",
            "2.12.1",
            "2.12.0",
            "2.11.4",
            "2.11.3",
            "2.11.2",
            "2.11.1",
            "2.11.0",
            "2.10.3",
            "2.10.2",
            "2.10.1",
            "2.10.0",
            "2.9.4",
            "2.9.3",
            "2.9.2",
            "2.9.1",
            "2.9.0",
            "2.8.6",
            "2.8.5",
            "2.8.4",
            "2.8.3",
            "2.8.2",
            "2.8.1",
            "2.8.0",
            "2.7.2",
            "2.7.1",
            "2.7.0",
            "2.6.3",
            "2.6.2",
            "2.6.1",
            "2.6.0",
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.1",
            "2.4.0",
            "2.3.9",
            "2.3.8",
            "2.3.7",
            "2.3.6",
            "2.3.5",
            "2.3.4",
            "2.3.3",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.2",
            "2.2.1",
            "2.2.0",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.2",
            "2.0.1",
            "2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-38991.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:27.070801499Z",
      "provider": "osv",
      "references": [
        "https://felsec.com/posts/cockpit-cms-2.13.5-multi-vulns/",
        "https://github.com/Cockpit-HQ/Cockpit/releases/tag/2.14.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/38xxx/CVE-2026-38991.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-38991"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/38xxx/CVE-2026-38991.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-38991",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 493278,
  "published_at": "2026-04-29T00:00:00+00:00"
}