{"id":"CVE-2026-95698","published":"2026-09-22T14:36:35Z","modified":"2026-09-22T15:04:08Z","title":"MISP Path Traversal in OrgImgHelper findOrgImage via Crafted Organization Name","vendor":"MISP","product":"MISP","tier":"tail","description":{"text":"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. \n\nThis yields two security impacts: \n\n - an arbitrary file existence oracle, since file_exists() returns a boolean for any path the process can access.\n - 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.\n\n\n\n\nThe vulnerability requires an authenticated user with the ability to create or import events that set the organization name.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00718,"percentile":0.54764,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/MISP/MISP/commit/e00986075","tags":["patch"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":10.95},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"misp","affectedVersions":[{"vendor":"MISP","product":"MISP","versions":["< 2.5.47"]}],"solutions":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-126","name":"Path Traversal"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-22T15:03:36.684296Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-84495","exploited":false,"provenance":"source"}}