CVE-2026-95806

MISP: PHP phar stream wrapper enables deserialization and code execution via caller-influenced filesystem paths

State
Published
Severity
7.7 High
Published
Sep 22, 2026
Updated
Sep 22, 2026
Reserved
Sep 22, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
4.07.7 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NCIRCL

Weaknesses

  • CWE-502 Deserialization of Untrusted Data
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

Affected Products

ProductVersions
MISPMISP
  • before 2.5.47Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.