{
  "id": "CVE-2026-42607",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-42607",
  "published_at": "2026-05-11T14:58:42.273Z",
  "title": "Grav: Remote Code Execution (RCE) via Malicious Plugin ZIP Upload in Direct Install Feature",
  "vendor": "getgrav",
  "product": "grav",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-26T00:00:00Z",
    "first_seen_at": null,
    "days_after_publication": 14.4,
    "source": "exploitdb",
    "url": "https://www.exploit-db.com/exploits/52578"
  },
  "poc_repo_count": 0,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Grav is a file-based Web platform. Prior to 2.0.0-beta.2, an authenticated user with administrative privileges can achieve Remote Code Execution (RCE) by uploading a specially crafted ZIP file through the \"Direct Install\" tool. While the system attempts to block direct .php file uploads, it fails to inspect the contents of uploaded ZIP archives. Once a malicious plugin is extracted, it can execute arbitrary PHP code or drop a persistent web shell on the server. This vulnerability is fixed in 2.0.0-beta.2.",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "getgrav",
        "product": "grav",
        "ranges": [
          "\u003c 2.0.0-beta.2"
        ],
        "fixed_in": [
          "2.0.0-beta.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade grav to 2.0.0-beta.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52578",
      "source": "exploitdb",
      "title": "Grav CMS 2.0.0-beta.2 -  Remote Code Execution",
      "published_at": "2026-05-26T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
