CVE-2026-95693: MISP Information Disclosure via Forged Upload Path
In MISP, the EventReport::uploadPicture method in processed a caller-supplied tmpname field by invoking fileexists(), mimecontenttype(), and exifimagetype() on the supplied path before verifying that the value was a genuine PHP upload via isuploadedfile(). An authenticated user holding the permadd permission could supply an arbitrary filesystem path as the tmpname value. The application would then probe that path and return distinct validation error messages depending on whether the file existed, its MIME type, or its image format. By observing the differing error responses, an attacker could enumerate the existence of files at arbitrary paths on the MISP server and determine their type.
This constitutes an information disclosure vulnerability: the server's filesystem layout and file types are leaked to any user with the permadd role without requiring administrative access.
The vulnerability does not allow reading file contents, writing files, or executing code, but it can aid further attacks by revealing sensitive file locations (e.g., configuration files, private keys, or other artifacts) present on the host.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated MISP user with the perm_add permission can exploit it. Administrative access is not required.
What access or input does an attacker need?
The attacker must be able to invoke the picture-upload functionality and supply a crafted tmp_name value containing an arbitrary filesystem path. The path is probed before MISP verifies that it is a genuine PHP-uploaded file.
What can an attacker learn or do through this vulnerability?
An attacker can infer whether arbitrary server-side paths exist and distinguish file characteristics through different validation errors, including MIME type or image format. The issue does not permit reading file contents, writing files, or executing code.
How can defenders identify attempted exploitation?
Look for picture-upload requests from perm_add users where the tmp_name field contains filesystem paths rather than expected temporary upload values. Repeated requests targeting different paths and producing validation failures may indicate path enumeration.