---
id: CVE-2026-95693
title: >-
  In MISP, the EventReport::uploadPicture method in processed a caller-supplied
  tmp_name field by invoking file_exists(), mime_content_type(), and
  exif_imagetype() on the supplied path before verifying that the value was a
  genuine PHP uplo…
summary: >-
  In MISP, the EventReport::uploadPicture method in processed a caller-supplied
  tmp_name field by invoking file_exists(), mime_content_type(), and
  exif_imagetype() on the supplied path before verifying that the value was a
  genuine PHP uplo…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-22
  - CWE-200
vendor: MISP
product: MISP
affected:
  - MISP < 2.5.47
published: '2026-09-22'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T16:18:23.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-95693'
references:
  - url: 'https://github.com/MISP/MISP/commit/9a2a4acfe'
    label: 5a6e4751-2f3f-4070-9419-94fb35b644e8
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-22T15:09:40.847048Z'
cvssSource: cna
ingestedAt: '2026-09-22T15:05:01.087Z'
---

## Overview

In MISP, the EventReport::uploadPicture method in processed a caller-supplied tmp_name field by invoking file_exists(), mime_content_type(), and exif_imagetype() on the supplied path before verifying that the value was a genuine PHP upload via is_uploaded_file(). An authenticated user holding the perm_add permission could supply an arbitrary filesystem path as the tmp_name 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 perm_add 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.

## Remediation

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