{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.51.44"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3"
            }
          ],
          "repo": "https://github.com/nesquena/hermes-webui",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22677.json"
  },
  "details": "Hermes WebUI prior to 0.51.44 contains a path traversal vulnerability in the session import endpoint that allows authenticated attackers to read arbitrary files by importing a crafted session with an unrestricted workspace value. Attackers can supply a blocked filesystem root in the workspace field and subsequently use relative paths in the session file API to access any file readable by the WebUI process.",
  "id": "CVE-2026-22677",
  "modified": "2026-07-16T03:31:17.192977069Z",
  "published": "2026-05-13T19:08:02.790Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22677.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/nesquena/hermes-webui/releases/tag/v0.51.44"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22677"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/hermes-webui-path-traversal-via-session-import-endpoint"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/nesquena/hermes-webui/pull/2048"
    },
    {
      "type": "FIX",
      "url": "https://github.com/nesquena/hermes-webui/commit/f00cb74f776f22f02f5eb6b39dfb389f87cc7fd3"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/nesquena/hermes-webui"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Hermes WebUI \u003c 0.51.44 Path Traversal via Session Import Endpoint"
}