{"id":"CVE-2026-59179","published":"2026-10-28T13:14:13Z","modified":"2026-10-29T18:33:40Z","title":"OpenHop: Path Traversal in Flow ID File Operations","vendor":"naorsabag","product":"openhop","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0039,"percentile":0.34014,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/naorsabag/openhop/security/advisories/GHSA-g72f-jw3w-mgh7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/naorsabag/openhop/pull/190","tags":["x_refsource_MISC"]},{"url":"https://github.com/naorsabag/openhop/commit/c8190fbefa3a50e7b0c16c001d2e05b0e920cfb4","tags":["x_refsource_MISC"]},{"url":"https://github.com/naorsabag/openhop/releases/tag/v0.3.7","tags":["x_refsource_MISC"]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":6.8},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"naorsabag","affectedVersions":[{"vendor":"naorsabag","product":"openhop","versions":["< 0.3.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-29T18:33:12.643459Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@openhop/server","vulnerableRanges":["<0.3.6"],"patched":["0.3.6"],"from":["GHSA-g72f-jw3w-mgh7"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112080","exploited":false,"provenance":"source"}}