{"id":"CVE-2026-95806","summary":"MISP: PHP phar stream wrapper enables deserialization and code execution via caller-influenced filesystem paths","details":"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 filesystem operation on a caller-influenced path that resolves to a phar archive triggers an implicit unserialize() call, creating a deserialization sink;\n - a relocated application root can reach executable code inside an uploaded phar file, enabling arbitrary code execution as the web user.\n\n\n\n\nNo 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.","modified":"2026-09-24T03:46:47.247719928Z","published":"2026-09-22T15:09:09.738Z","database_specific":{"cna_assigner":"CIRCL","cwe_ids":["CWE-502","CWE-74"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95806.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/95xxx/CVE-2026-95806.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-95806"},{"type":"FIX","url":"https://github.com/MISP/MISP/commit/08fa755b6"},{"type":"PACKAGE","url":"https://github.com/MISP/MISP"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/misp/misp","events":[{"introduced":"0"},{"fixed":"08fa755b6"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"2.5.47"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-95806.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}