Skip to content
Heist/ feed
Back to feed
High

MISP Background Job Argument Injection via Console Path Switches Enables Remote Code Execution

Type: advisorySources: OSV

MISP contains a vulnerability in its background job dispatch mechanism that allows remote code execution as the web user. Background job arguments are passed directly as the argv of the CakePHP console process. CakePHP's ShellDispatcher::_parsePaths() scans the entire argv for path switches (-app, --app, -working, --working, -root, --root, -webroot, --webroot) and uses the following element as the application root. The events/contact endpoint passes user-controlled fields (message and person) into job arguments without validation. An attacker who can submit the contact form can set the person field to a reserved switch and the message field to a phar:// URI pointing to a malicious archive. The CakePHP bootstrap then includes Config/core.php from within that archive, executing attacker-controlled PHP code with the privileges of the web user. The vulnerability requires the ability to submit the events/contact form (or any other endpoint that forwards user input into background job arguments). No special timing or race condition is required; the attack is deterministic once the crafted parameters are accepted. The impact is full remote code execution in the context of the MISP web server process, allowing data exfiltration, persistence, and lateral movement within the host.

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

Source evidence

MISP Background Job Argument Injection via Console Path Switches Enables Remote Code Execution

core-osv · Original source

Published 17 Sept 2026, 16:25 UTC

MISP contains a vulnerability in its background job dispatch mechanism that allows remote code execution as the web user. Background job arguments are passed directly as the argv of the CakePHP console process. CakePHP's ShellDispatcher::_parsePaths() scans the entire argv for path switches (-app, --app, -working, --working, -root, --root, -webroot, --webroot) and uses the following element as the application root. The events/contact endpoint passes user-controlled fields (message and person) into job arguments without validation. An attacker who can submit the contact form can set the person field to a reserved switch and the message field to a phar:// URI pointing to a malicious archive. The CakePHP bootstrap then includes Config/core.php from within that archive, executing attacker-controlled PHP code with the privileges of the web user. The vulnerability requires the ability to submit the events/contact form (or any other endpoint that forwards user input into background job arguments). No special timing or race condition is required; the attack is deterministic once the crafted parameters are accepted. The impact is full remote code execution in the context of the MISP web server process, allowing data exfiltration, persistence, and lateral movement within the host.

osv:CVE-2026-93295
Complete source record
{
  "id": "8b314d6f0814ced19f53e3d93bc3359d7654454b4baf54ed2ebeda1e3d830928",
  "url": "https://osv.dev/vulnerability/CVE-2026-93295",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MISP Background Job Argument Injection via Console Path Switches Enables Remote Code Execution",
    "summary": "MISP contains a vulnerability in its background job dispatch mechanism that allows remote code execution as the web user. Background job arguments are passed directly as the argv of the CakePHP console process. CakePHP's ShellDispatcher::_parsePaths() scans the entire argv for path switches (-app, --app, -working, --working, -root, --root, -webroot, --webroot) and uses the following element as the application root. The events/contact endpoint passes user-controlled fields (message and person) into job arguments without validation. An attacker who can submit the contact form can set the person field to a reserved switch and the message field to a phar:// URI pointing to a malicious archive. The CakePHP bootstrap then includes Config/core.php from within that archive, executing attacker-controlled PHP code with the privileges of the web user. The vulnerability requires the ability to submit the events/contact form (or any other endpoint that forwards user input into background job arguments). No special timing or race condition is required; the attack is deterministic once the crafted parameters are accepted. The impact is full remote code execution in the context of the MISP web server process, allowing data exfiltration, persistence, and lateral movement within the host.",
    "evidence": "osv:CVE-2026-93295",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-93295",
      "aliases": [
        "CVE-2026-93295"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/misp/misp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fc4220ed7900097dfbcdf48a0961f6713960ae11"
                },
                {
                  "fixed": "fc4220ed7900097dfbcdf48a0961f6713960ae11"
                },
                {
                  "fixed": "120813344"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "< 2.5.47"
                      },
                      {
                        "fixed": "2.5.47"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "120813344"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-93295.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.111950247Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93295.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-93295",
        "https://github.com/MISP/misp/commit/120813344",
        "https://github.com/MISP/misp"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20",
          "CWE-74"
        ],
        "cna_assigner": "CIRCL",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93295.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-93295",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499108,
  "published_at": "2026-09-17T16:25:40.73+00:00"
}