{"id":"CVE-2026-59179","summary":"OpenHop: Path Traversal in Flow ID File Operations","details":"OpenHop is a tool for creating interactive data-flow diagrams. Prior to 0.3.7, `@openhop/server` passes unauthenticated flow route parameters from `GET /api/flows/:id` and `DELETE /api/flows/:id` in `packages/server/src/routes.ts` to `FlowStore.filePath()` in `packages/server/src/store.ts` without an identifier allow-list. The router applies `decodeURIComponent` to the id, and `path.join()` then normalizes traversal outside the configured flow directory after appending the .yaml extension. An attacker can read accessible YAML files as YAML-parsed JSON or permanently delete accessible .yaml files outside that directory, exposing configuration or secrets and disrupting dependent services. In `packages/server/src/index.ts`, CORS `origin: true` permits any browser origin, enabling a malicious webpage to target a loopback-bound instance. Docker deployments default to `HOST=0.0.0.0` and permit direct unauthenticated network access. This issue is fixed in repository release 0.3.7.","aliases":["GHSA-g72f-jw3w-mgh7"],"modified":"2026-11-05T21:15:43.705757082Z","published":"2026-10-28T13:14:13.689Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59179.json"},"references":[{"type":"WEB","url":"https://github.com/naorsabag/openhop/releases/tag/v0.3.7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59179.json"},{"type":"ADVISORY","url":"https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59179"},{"type":"FIX","url":"https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4"},{"type":"FIX","url":"https://github.com/naorsabag/openhop/pull/190"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/naorsabag/openhop","events":[{"introduced":"0"},{"fixed":"53221caf10d35352dff4577fd3afc6f760c40562"},{"fixed":"c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"0.3.7"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4"}]},{"original_tag":"v0.3.7","range":[{"fixed":"53221caf10d35352dff4577fd3afc6f760c40562"}],"source":"REFERENCES_TAG"}]}}],"versions":["v0.3.6","v0.3.5","v0.3.4","v0.3.3","v0.3.2","v0.3.1","v0.3.0","v0.2.0","v0.1.0","v0.1.0-beta.6","v0.1.0-beta.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59179.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H"}]}