---
id: CVE-2026-95806
title: "MISP ships with PHP's phar stream wrapper registered in both its web entry point and its console entry point.\_\n\nThe phar stream wrapper causes PHP to treat a phar archive as a directory, which has two security consequences:\_ \n\n -\_any fil…"
summary: "MISP ships with PHP's phar stream wrapper registered in both its web entry point and its console entry point.\_\n\nThe phar stream wrapper causes PHP to treat a phar archive as a directory, which has two security consequences:\_ \n\n -\_any fil…"
severity: high
cvss: 7.7
cvssVector: 'CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'
cwe:
  - CWE-74
  - CWE-502
vendor: MISP
product: MISP
affected:
  - MISP < 2.5.47
published: '2026-09-22'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T16:18:24.667'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-95806'
references:
  - url: 'https://github.com/MISP/MISP/commit/08fa755b6'
    label: 5a6e4751-2f3f-4070-9419-94fb35b644e8
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-22T15:53:57.690631Z'
cvssSource: cna
ingestedAt: '2026-09-22T16:06:00.472Z'
epss: 0.00392
epssPercentile: 0.3048
---

## Overview

MISP ships with PHP's phar stream wrapper registered in both its web entry point and its console entry point. 

The phar stream wrapper causes PHP to treat a phar archive as a directory, which has two security consequences:  

 - any filesystem operation on a caller-influenced path that resolves to a phar archive triggers an implicit unserialize() call, creating a deserialization sink;
 - a relocated application root can reach executable code inside an uploaded phar file, enabling arbitrary code execution as the web user.




No component of MISP, the vendored CakePHP framework, or any runtime-loaded library reads or constructs phar archives. The wrapper therefore serves no legitimate purpose in the MISP runtime and exists solely as an available primitive for an attacker who can influence a filesystem path argument.

## Remediation

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