Description
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.
Published: 2026-09-22
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Information Disclosure via Filesystem Enumeration
Action: Apply Patch
AI Analysis

Impact

The flaw lies in the EventReport::uploadPicture function, which processes an attacker‑supplied tmp_name parameter by probing the filesystem with file_exists, mime_content_type, and exif_imagetype before verifying that the file is a legitimate PHP upload. Because this validation gate is missing, an authenticated user with the perm_add privilege can supply any path, causing the application to reply with distinct error messages that reveal whether a file exists, its MIME type, and its image format. The result is an information disclosure vulnerability that leaks the server’s filesystem layout and file types to any user with that role, although it does not grant read, write, or execution capabilities. The disclosed data can facilitate subsequent attacks by pointing attackers to configuration files, private keys, or other sensitive artifacts on the host.

Affected Systems

The vulnerability affects installations of MISP, specifically the EventReport component. Any deployed instance of MISP that allows users with the perm_add permission to invoke the uploadPicture endpoint is susceptible; no version range is specified, meaning the issue may exist in all current or older releases until the patch is applied.

Risk and Exploitability

With a CVSS score of 5.3, the threat is classified as medium severity. The exploit does not require administrative rights beyond the assigned perm_add role, so anyone who can authenticate with that privilege can run the attack. EPSS data are not available, but the vulnerability is not listed in the CISA KEV catalog, suggesting no known active exploitation. The attacker’s ability to enumerate arbitrary filesystem paths can aid more serious attacks, so the risk remains notable for organizations that keep sensitive files on the same server as MISP.

Generated by OpenCVE AI on September 22, 2026 at 15:36 UTC.

Remediation

Vendor Solution

The fix introduces an early validation gate in EventReport::uploadPicture that checks is_uploaded_file() on the supplied tmp_name before any filesystem-probing functions (file_exists, mime_content_type, exif_imagetype) are invoked. If the value is not a genuine PHP upload, the method immediately returns a generic error message, preventing the attacker from using the endpoint as an oracle for filesystem enumeration.


OpenCVE Recommended Actions

  • Apply the official patch that adds an early is_uploaded_file check to uploadPicture.
  • Limit the perm_add privilege to trusted personnel or remove it from unnecessary user accounts.
  • Disable or restrict direct access to the uploadPicture endpoint for users that do not need file upload capabilities.

Generated by OpenCVE AI on September 22, 2026 at 15:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Misp
Misp misp
Vendors & Products Misp
Misp misp

Tue, 22 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Description 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.
Title MISP Information Disclosure via Forged Upload Path
Weaknesses CWE-200
CWE-22
References
Metrics cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-09-22T15:09:48.685Z

Reserved: 2026-09-22T14:22:26.180Z

Link: CVE-2026-95693

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-22T15:17:27.443

Modified: 2026-09-22T16:18:23.200

Link: CVE-2026-95693

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T16:15:07Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')