Skip to content
Heist/ feed
Back to feed
Medium

MISP organisation logo path traversal allows retrieval of arbitrary PNG/SVG files

Type: advisorySources: OSV

MISP contains a path traversal vulnerability in OrganisationsController::getOrgLogo. The vulnerable code builds organisation logo file paths using organisation-controlled fields such as id, name, and uuid without ensuring that the resolved file remains inside the intended APP/files/img/orgs/ directory. An attacker able to influence an organisation field, for example the organisation name, could use path traversal sequences to cause MISP to return arbitrary readable .png or .svg files from outside the organisation logo directory. The issue is fixed by resolving candidate paths with realpath() and verifying that they remain under the expected base directory before serving the file.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-54394
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:01 UTC · Revision 1

Source evidence

MISP organisation logo path traversal allows retrieval of arbitrary PNG/SVG files

core-osv · Original source

Published 12 Jun 2026, 20:30 UTC

MISP contains a path traversal vulnerability in OrganisationsController::getOrgLogo. The vulnerable code builds organisation logo file paths using organisation-controlled fields such as id, name, and uuid without ensuring that the resolved file remains inside the intended APP/files/img/orgs/ directory. An attacker able to influence an organisation field, for example the organisation name, could use path traversal sequences to cause MISP to return arbitrary readable .png or .svg files from outside the organisation logo directory. The issue is fixed by resolving candidate paths with realpath() and verifying that they remain under the expected base directory before serving the file.

osv:CVE-2026-54394
Complete source record
{
  "id": "9f4371b5cdd583c0406b26c0424a8f0aac09a75eb8af0098ae26c0ab8b0f1d56",
  "url": "https://osv.dev/vulnerability/CVE-2026-54394",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MISP organisation logo path traversal allows retrieval of arbitrary PNG/SVG files",
    "summary": "MISP contains a path traversal vulnerability in OrganisationsController::getOrgLogo. The vulnerable code builds organisation logo file paths using organisation-controlled fields such as id, name, and uuid without ensuring that the resolved file remains inside the intended APP/files/img/orgs/ directory. An attacker able to influence an organisation field, for example the organisation name, could use path traversal sequences to cause MISP to return arbitrary readable .png or .svg files from outside the organisation logo directory. The issue is fixed by resolving candidate paths with realpath() and verifying that they remain under the expected base directory before serving the file.",
    "evidence": "osv:CVE-2026-54394",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-54394",
      "aliases": [
        "CVE-2026-54394"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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/U:Green"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/misp/misp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "57ec6febfd1adab7a58038def39a76c19ce0cbeb"
                },
                {
                  "fixed": "b865deb036ca82dab272be260798f562034ba9ae"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.5.40"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b865deb036ca82dab272be260798f562034ba9ae"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.5.39",
            "v2.5.37",
            "v2.5.36",
            "v2.5.35",
            "v2.5.34",
            "v2.5.33",
            "v2.5.32",
            "v2.5.31",
            "v2.5.30",
            "v2.5.29",
            "v2.5.28",
            "v2.5.27",
            "v2.5.26",
            "v2.5.25",
            "v2.5.24",
            "v2.5.23",
            "v2.5.22",
            "v2.5.21",
            "v2.5.20",
            "v2.5.19",
            "v2.5.18",
            "v2.5.17",
            "v2.5.16",
            "v2.5.15",
            "v2.5.12",
            "v2.5.14",
            "v2.5.13",
            "v2.5.11",
            "v2.5.10",
            "v2.5.9",
            "v2.5.8",
            "v2.5.7",
            "v2.5.0",
            "v2.4.196",
            "v2.4.195",
            "v2.4.194",
            "v2.4.193",
            "v2.4.192",
            "v2.4.191",
            "v2.4.190",
            "v2.4.189",
            "v2.4.188",
            "v2.4.187",
            "v2.4.186",
            "v2.4.175",
            "v2.4.185",
            "v2.4.183",
            "v2.4.184",
            "v2.4.153",
            "v2.4.152",
            "v2.4.137",
            "v2.4.136",
            "v2.4.134",
            "v2.4.133",
            "v2.4.130",
            "v2.4.128",
            "v2.4.127",
            "v2.4.125",
            "v2.4.123",
            "v2.4.122",
            "v2.4.121",
            "v2.4.120",
            "v2.4.118",
            "v2.4.111",
            "rm",
            "v2.4.110",
            "v2.4.109",
            "codename/tellurium",
            "v2.4.107",
            "v2.4.106",
            "v2.4.102",
            "v2.4.101",
            "v2.4.100",
            "v2.4.98",
            "v2.4.96",
            "v2.4.95",
            "v2.4.94",
            "v2.4.93",
            "v2.4.91",
            "v2.4.89",
            "v2.4.88",
            "v2.4.87",
            "v2.4.86",
            "v2.4.85",
            "v2.4.83",
            "v2.4.82",
            "v2.4.80",
            "v2.4.78",
            "v2.4.65",
            "v2.4.64",
            "v2.4.63",
            "v2.4.62",
            "v2.4.61",
            "v2.4.60",
            "v2.4.59",
            "v2.4.58",
            "v2.4.57",
            "v2.4.56",
            "v2.4.54",
            "v2.4.53",
            "v2.4.52",
            "v2.4.51",
            "v2.4.50",
            "v2.4.48",
            "v2.4.47",
            "v2.4.46",
            "v2.4.45",
            "v2.4.43",
            "v2.4.39",
            "v2.4.38",
            "v2.4.37",
            "v2.4.36",
            "v2.4.35",
            "v2.4.34",
            "v2.4.27",
            "v2.4.26",
            "v2.4.25",
            "v2.4.24",
            "v2.4.23",
            "v2.4.22",
            "v2.4.21",
            "v2.4.20",
            "v2.4.18",
            "v2.4.17",
            "v2.4.16",
            "v2.4.15",
            "v2.4.14",
            "v2.4.13",
            "v2.4.11",
            "v2.4.10",
            "v2.4.9",
            "v2.4.7",
            "v2.4.5",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.0",
            "v0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54394.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.393370306Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54394.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-54394",
        "https://github.com/MISP/MISP/commit/b865deb036ca82dab272be260798f562034ba9ae",
        "https://github.com/misp/misp"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "CIRCL",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54394.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-54394",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513293,
  "published_at": "2026-06-12T20:30:25.887+00:00"
}