{"id":"CVE-2026-59179","state":"PUBLISHED","title":"OpenHop: Path Traversal in Flow ID File Operations","description":"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.","publishedAt":"2026-10-28T13:14:13.689Z","updatedAt":"2026-10-29T18:33:40.230Z","severity":{"score":8.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["naorsabag openhop"],"affected":[{"vendor":"naorsabag","product":"openhop","versions":[{"version":"< 0.3.7","status":"affected"}]}],"references":["https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7","https://github.com/naorsabag/openhop/pull/190","https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4","https://github.com/naorsabag/openhop/releases/tag/v0.3.7"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/59xxx/CVE-2026-59179.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-59179","state":"PUBLISHED","datePublished":"2026-10-28T13:14:13.689Z","dateUpdated":"2026-10-29T18:33:40.230Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-02T19:53:48.830Z"},"containers":{"cna":{"title":"OpenHop: Path Traversal in Flow ID File Operations","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"naorsabag","product":"openhop","versions":[{"version":"< 0.3.7","status":"affected"}]}],"references":[{"url":"https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7","name":"https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/naorsabag/openhop/pull/190","name":"https://github.com/naorsabag/openhop/pull/190","tags":["x_refsource_MISC"]},{"url":"https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4","name":"https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4","tags":["x_refsource_MISC"]},{"url":"https://github.com/naorsabag/openhop/releases/tag/v0.3.7","name":"https://github.com/naorsabag/openhop/releases/tag/v0.3.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-28T13:14:13.689Z"},"source":{"advisory":"GHSA-g72f-jw3w-mgh7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-29T18:33:12.643459Z","id":"CVE-2026-59179","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-29T18:33:40.230Z"}}]}}}