---
id: CVE-2026-93295
title: >-
  MISP contains a vulnerability in its background job dispatch mechanism that
  allows remote code execution as the web user
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:…
severity: high
cvss: 8.7
cvssVector: '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'
cwe:
  - CWE-20
  - CWE-74
vendor: misp
product: misp
affected:
  - misp >= < 2.5.47 < 2.5.47
published: '2026-09-17'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T08:16:41.520'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93295'
references:
  - url: 'https://github.com/MISP/misp/commit/120813344'
    label: 5a6e4751-2f3f-4070-9419-94fb35b644e8
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-17T18:09:12.355251Z'
cvssSource: cna
epss: 0.00639
epssPercentile: 0.48337
ingestedAt: '2026-09-17T17:23:30.682Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
