{"id":"CVE-2026-95701","published":"2026-09-22T14:44:21Z","modified":"2026-09-22T14:59:46Z","title":"MISP Path Traversal via Organization Name in Org-Statistics Logo Check","vendor":"MISP","product":"MISP","tier":"tail","description":{"text":"In MISP, the __statisticsOrgs method in UsersController.php used the organization name directly as a file-system path component when checking for the existence of an organization logo image. The original code called file_exists() with a path constructed as APP . 'webroot' . DS . 'img' . DS . 'orgs' . DS . $k . '.png', where $k is the organization name. Because the referenced directory (app/webroot/img/orgs) no longer exists in current MISP deployments (org logos were relocated to files/img/orgs), the check was functionally dead and never triggered. However, the underlying pattern—concatenating an attacker-influenced organization name into a file path without sanitization—constitutes a path traversal weakness. An organization name containing directory traversal sequences (e.g., '../../../../etc/passwd') would, if the target directory existed, allow an authenticated user with the ability to create or rename an organization to probe for the existence of arbitrary files on the server.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00763,"percentile":0.51686,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/MISP/MISP/commit/a2f7cba6e","tags":["patch"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":10.34},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"misp","affectedVersions":[{"vendor":"MISP","product":"MISP","versions":["< 2.5.47"]}],"solutions":{"items":["The fix corrects the logo directory path from the obsolete app/webroot/img/orgs to the current files/img/orgs location, expands the lookup to cover id, name, and uuid fields across png and svg extensions (mirroring the getOrgLogo helper), and adds a security guard: the candidate path is resolved with realpath() and verified via str_starts_with() against the resolved base directory, so any organization name containing traversal sequences (../) that would resolve outside files/img/orgs is rejected."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-1","name":"String Manipulation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-22T14:59:24.647249Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-84496","exploited":false,"provenance":"source"}}