Description
The findOrgImage method in MISP's OrgImgHelper constructs a filesystem path by concatenating a user-supplied organization identifier with a fixed image directory and a file extension, then calls file_exists() on the resulting path. The organization name field is attacker-controllable through event import, which sets Org.name. Because no validation was performed on the field value before path construction, an organization name containing directory traversal sequences (e.g., ../../etc/passwd) would cause the path to resolve outside the intended org-image directory. 

This yields two security impacts: 

 - an arbitrary file existence oracle, since file_exists() returns a boolean for any path the process can access.
 - an arbitrary file read limited to files with .png or .svg extensions, because the resolved filename is returned and subsequently rendered or served to the requesting user.




The vulnerability requires an authenticated user with the ability to create or import events that set the organization name.
Published: 2026-09-22
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Arbitrary File Read
Action: Patch Now
AI Analysis

Impact

FindOrgImage in MISP's OrgImgHelper concatenates an attacker‑controlled organization identifier with a fixed directory path and file extension, then calls file_exists() on the resulting path. Because no validation was performed before the path construction, an organization name containing directory traversal sequences such as ../../etc/passwd can cause the resolved path to reference any file under the MISP process’s access. The vulnerability yields an arbitrary file existence oracle and allows a user to retrieve the contents of files that end with .png or .svg extensions via the returned image reference.

Affected Systems

Affected product is MISP, as listed by its CNA. The flaw exists in the OrgImgHelper component and is present in any MISP installation that uses the vulnerable findOrgImage method before the commit that introduced input validation. The organization name is set during event import, so any instance that allows authenticated users to import events with arbitrary organization names is impacted.

Risk and Exploitability

The CVSS score of 5.3 indicates medium severity, primarily because the vulnerability requires authenticated access with the ability to create or import events. The EPSS score is not available, and the issue is not listed in CISA's KEV catalog, suggesting that no widespread active exploitation is reported. The likely attack vector is an authenticated user who can set the organization name during event import; the attacker can learn whether arbitrary files exist and, for files with .png or .svg extensions, can read and view their contents.

Generated by OpenCVE AI on September 22, 2026 at 17:45 UTC.

Remediation

Vendor Solution

The fix adds input validation in findOrgImage so that each organization identifier value (id, name, uuid) is checked to be a non-empty plain filename component. Values containing path separators (detected via basename comparison) or dot-dot sequences are rejected, preventing the constructed path from escaping the designated org-image directory. The validated value is then used in the file_exists call and the returned image reference.


OpenCVE Recommended Actions

  • Update MISP to the latest release that contains the commit e00986075 or newer, ensuring the input‑validation fix is applied.
  • Restrict event import permissions so that only trusted users can create or modify organization names, preventing malicious input.
  • Enforce strict input validation on the organization name field to reject values containing path separators or '..' sequences before they are stored or used to construct file paths.

Generated by OpenCVE AI on September 22, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 17:00:00 +0000

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

Tue, 22 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Description The findOrgImage method in MISP's OrgImgHelper constructs a filesystem path by concatenating a user-supplied organization identifier with a fixed image directory and a file extension, then calls file_exists() on the resulting path. The organization name field is attacker-controllable through event import, which sets Org.name. Because no validation was performed on the field value before path construction, an organization name containing directory traversal sequences (e.g., ../../etc/passwd) would cause the path to resolve outside the intended org-image directory.  This yields two security impacts:   - an arbitrary file existence oracle, since file_exists() returns a boolean for any path the process can access.  - an arbitrary file read limited to files with .png or .svg extensions, because the resolved filename is returned and subsequently rendered or served to the requesting user. The vulnerability requires an authenticated user with the ability to create or import events that set the organization name.
Title MISP Path Traversal in OrgImgHelper findOrgImage via Crafted Organization Name
Weaknesses 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:04:08.199Z

Reserved: 2026-09-22T14:36:33.476Z

Link: CVE-2026-95698

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

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

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

Link: CVE-2026-95698

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:45:17Z

Weaknesses
  • CWE-22

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